Skip to content

Conversation

@SimonHeybrock
Copy link
Member

@SimonHeybrock SimonHeybrock commented Jan 27, 2025

Since bin indices were computed from bin sizes, validation of the indices is not necessary. On my computer this saves around 25 ms for 1M bins and 350 ms for 10M bins in calls to group (probably similar for bin).

The improvement from the second commit is less clear. Maybe around 10 ms for 10M bins. Might be more relevant in an environment with fewer threads.

Part of #3637.

Since bin indices were computed form bin sizes, validation of the
indices is not necessary. On my computer this saves around 25 ms for 1M
bins and 350 ms for 10M bins.
@SimonHeybrock SimonHeybrock added the optimisation Increases performance (hopefully) label Jan 27, 2025
@SimonHeybrock SimonHeybrock merged commit 55d0e4c into main Jan 28, 2025
4 checks passed
@SimonHeybrock SimonHeybrock deleted the reduce-bin-overhead branch January 28, 2025 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

optimisation Increases performance (hopefully)

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants