mirror of
https://github.com/google/brotli.git
synced 2026-09-22 06:35:52 +00:00
[PR #1144] Compare 4 bytes when checking if a longer match is possible. #1706
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/google/brotli/pull/1144
State: closed
Merged: Yes
Compare 4 bytes when checking if a longer match is possible.
Loading and comparing 4 bytes is ~as fast as 1 byte, but allows us to avoid more full match length calculation.