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

Optimize match_len == 3 #146

Merged
merged 4 commits into from
Jan 29, 2024
Merged

Optimize match_len == 3 #146

merged 4 commits into from
Jan 29, 2024

Conversation

kornelski
Copy link
Contributor

The fast path has fewer instructions, and gets inlined into decompress.

@oyvindln oyvindln merged commit 10ff5a0 into Frommi:master Jan 29, 2024
8 checks passed
@oyvindln
Copy link
Collaborator

oyvindln commented Jan 29, 2024

Thanks!

I can see a measurable impact in decompression speed with the old test app I had sitting around. The previous PR was mainly impacting the init speed so it was a bit harder to measure without writing something new or looking with a profiler or similar.

If you're planning to do some more work on this I'll hold on on doing a new release for a little, need to look into #143 in any case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants