[PR #433] Update encoder #1049

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

Original Pull Request: https://github.com/google/brotli/pull/433

State: closed
Merged: Yes


  • moved common/port.h to includes/port.h
  • replaced more magic numbers with constants
  • artificially limited window size to 2^18 for quality 0 and 1
  • used fixed shifts for quality 0 and 1 hashes
  • removed BrotliEncoderWriteMetadata
  • added BROTLI_OPERATION_EMIT_METADATA instead
  • deprecated low-level API
  • fixed MSVC warnings
**Original Pull Request:** https://github.com/google/brotli/pull/433 **State:** closed **Merged:** Yes --- - moved `common/port.h` to `includes/port.h` - replaced more magic numbers with constants - artificially limited window size to 2^18 for quality 0 and 1 - used fixed shifts for quality 0 and 1 hashes - removed `BrotliEncoderWriteMetadata` - added `BROTLI_OPERATION_EMIT_METADATA` instead - deprecated low-level API - fixed MSVC warnings
claunia added the pull-request label 2026-01-29 20:52:16 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#1049