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

flate: Improve level 5+6 compression #656

Merged
merged 1 commit into from Sep 7, 2022
Merged

Commits on Sep 7, 2022

  1. flate: Improve level 5+6 compression

    Skip 2 bytes when doing end-of-match search.
    
    This allows better matches to be picked up further forward, adding up to 2 literals, but giving a better match.
    
    Level 5:
    
    nyc: 779171549 -> 767765165
    github-june: 943488021 -> 938777887
    github-ranks: 435111686 -> 435008334
    sofia: 3083510553 -> 3048677443
    
    level6, nyc: 768119006 -> 753545897
    
    Performance unchanged.
    klauspost committed Sep 7, 2022
    Copy the full SHA
    2b6cd92 View commit details
    Browse the repository at this point in the history