[PR #1144] Compare 4 bytes when checking if a longer match is possible. #1706

Closed
opened 2026-01-29 20:55:25 +00:00 by claunia · 0 comments
Owner

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.

**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.
claunia added the pull-request label 2026-01-29 20:55:25 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#1706