Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added faster block splitter variants for levels 3-7 #4176

Merged
merged 8 commits into from
Oct 25, 2024
Merged

Added faster block splitter variants for levels 3-7 #4176

merged 8 commits into from
Oct 25, 2024

Conversation

Cyan4973
Copy link
Contributor

@Cyan4973 Cyan4973 commented Oct 24, 2024

These faster variants employs lighter sampling, smaller state and different hashing to decide when and where to split a block.

Thanks to their faster speed, it's now possible to apply block splitting heuristics for levels 3 to 7 (strategies dfast, greedy and lazy), with a negligible speed impact (<2%).

Unfortunately, this is still not fast enough for the fast strategy, which will require a very different variant.

silesia.tar :

level dev this PR savings
3 66456850 66133685 -323165
4 65255250 64956407 -298843
5 63040521 62741063 -299458
6 61540615 61230511 -310104
7 60546773 60249475 -297298

@Cyan4973 Cyan4973 marked this pull request as ready for review October 24, 2024 20:51
@Cyan4973 Cyan4973 changed the title Added block splitter variant for levels 5-7 Added faster block splitter variants for levels 3-7 Oct 24, 2024
@Cyan4973 Cyan4973 merged commit 7fb5347 into dev Oct 25, 2024
94 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants