Merge claude/project-thread-0izcgq (large window at qualities 3 to 9)

Put the q10/q11 variable region before the ring buffer (now the last
region), growing it (and moving the ring buffer) at the first
transform_io call to use a workbuf longer than workbuf_len's minimum.
Large window now also works at qualities 10 and 11.
This commit is contained in:
Claude committed 2026-10-27 04:46:52 +00:00
commit 7d58caf91c
11 files changed
+1664 -216

No files matched your search

+7 -1
View File
@@ -37,4 +37,10 @@ encoder has `request_flush`, `request_emit_metadata` and
## Implementations
- [std/brotli](/std/brotli/README.md#encoder) (qualities 0 to 11, without encoder dictionaries).
- [std/brotli](/std/brotli/README.md#encoder) (qualities 0 to 11, without
encoder dictionaries, including large-window brotli, with windows of up to
1 GiB, at qualities 3 to 11). Its `workbuf_len` is the worst case for the
parameters (more than 2 GiB for large-window brotli at lgwin 30; at
qualities 10 and 11, `min_incl` is a smaller practical bound), but a
shorter workbuf works for short inputs: see the README's "Encoder Workbuf
Layout" section.