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

zstd: Revert #699 #700

Merged
merged 1 commit into from Nov 27, 2022
Merged

zstd: Revert #699 #700

merged 1 commit into from Nov 27, 2022

Commits on Nov 26, 2022

  1. zstd: Revert klauspost#699

    This reverts commit 2878205.
    
    Turns out that the speedup was due to a bug. In:
    
            offset := uint32(m.rep)
            if offset < 0 {
                    offset = uint32(m.s-m.offset) + 3
            }
    
    offset is never < 0 because it's cast to uint32 too early.
    greatroar committed Nov 26, 2022
    Copy the full SHA
    3a66d27 View commit details
    Browse the repository at this point in the history