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

Fix patch-from speed optimization #3556

Merged

Conversation

daniellerozenblit
Copy link
Contributor

@daniellerozenblit daniellerozenblit commented Mar 16, 2023

This PR is a followup to a previous patch-from speed optimization (#3545).

It ensures that the window size takes into account the full, un-truncated dictionary, in the normal matchfinders.

@terrelln
Copy link
Contributor

The code looks good!

How did you test that it doesn't regression compression speed? E.g. that this fix is still achieving the speedup we were aiming for.

@daniellerozenblit
Copy link
Contributor Author

The code looks good!

How did you test that it doesn't regression compression speed? E.g. that this fix is still achieving the speedup we were aiming for.

I ran some benchmarks for the lower compression levels (levels 5, 7, 9, 12, 15) and speeds were comparable to my previous benchmarks. There was also no change in the regression tests.

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.

3 participants