Skip to content

Fix patch-from speed optimization#3556

Merged
daniellerozenblit merged 1 commit intofacebook:devfrom
daniellerozenblit:fix-patch-from-oss-fuzz
Mar 21, 2023
Merged

Fix patch-from speed optimization#3556
daniellerozenblit merged 1 commit intofacebook:devfrom
daniellerozenblit:fix-patch-from-oss-fuzz

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