[PR #426] Create large window brotli, new incompatible compression format. #1039

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

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

State: closed
Merged: Yes


Large window brotli is a brotli version that can use 30-bit (1GB) window. It uses the reserved short-code 0010001 to indicate 30-bit window, therefore breaking section 9.1 of RFC 7932.

This is an experimental change, so that brotli can be more competitive on large inputs.

The compression ratio on enwik9 for quality 11 went from 4.47 for 24-bit window to 5.02 for 30-bit window. Also, on 10GB corpus the compression ratio for quality 10 and 11 increased from 2.52 and 2.54 to 2.78 and 2.80 respectively.

Additionally, large window brotli has been very useful in researching brotli distance encoding and exploring patching possibilities.

**Original Pull Request:** https://github.com/google/brotli/pull/426 **State:** closed **Merged:** Yes --- Large window brotli is a brotli version that can use 30-bit (1GB) window. It uses the reserved short-code `0010001` to indicate 30-bit window, therefore breaking [section 9.1 of RFC 7932](https://tools.ietf.org/html/rfc7932#section-9.1). This is an experimental change, so that brotli can be more competitive on large inputs. The compression ratio on enwik9 for quality 11 went from 4.47 for 24-bit window to 5.02 for 30-bit window. Also, on [10GB corpus](http://mattmahoney.net/dc/10gb.html) the compression ratio for quality 10 and 11 increased from 2.52 and 2.54 to 2.78 and 2.80 respectively. Additionally, large window brotli has been very useful in researching brotli distance encoding and exploring patching possibilities.
claunia added the pull-request label 2026-01-29 20:52:14 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#1039