Files
wuffs/std
Claude 85fd6770d5 std/brotli: add decoder fast paths
Add non-coroutine read_symbol_fast and read_bits_fast helpers that are
tried before the coroutine versions, and a process_commands_fast loop
that keeps a 64-bit read-ahead bit buffer and hands back the whole
unconsumed bytes when it exits. process_commands now tracks its position
in a command (cmd_state) so that both loops can resume each other.
LZ77 copies that neither wrap nor reach the ring buffer's end are done in
chunks of at most the distance, which matches a byte-by-byte copy.

Output is unchanged. On alice29 (decoder reused) decoding is about 1.8x
to 2.1x faster for q1, q5, q9 and q11 inputs.
2026-10-27 12:10:41 +00:00
..
2024-07-08 17:15:48 +10:00
2026-10-27 12:10:41 +00:00
2024-07-08 17:15:48 +10:00
2024-07-08 17:15:48 +10:00
2024-07-08 17:15:48 +10:00
2024-07-08 17:15:48 +10:00
2024-07-08 17:15:48 +10:00
2024-08-26 12:30:20 +10:00
2026-10-18 18:13:59 +11:00
2024-07-08 17:15:48 +10:00
2024-07-08 17:15:48 +10:00
2024-07-08 17:15:48 +10:00
2024-07-08 17:15:48 +10:00
2024-08-26 12:30:20 +10:00