Skip to content

Add incremental LZ4 streaming reads - #13

Merged
jph00 merged 1 commit into
mainfrom
pr/add-incremental-lz4-streaming-reads
Aug 25, 2026
Merged

Add incremental LZ4 streaming reads#13
jph00 merged 1 commit into
mainfrom
pr/add-incremental-lz4-streaming-reads

Conversation

@jph00

@jph00 jph00 commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

fbz::Reader now supports LZ4 through the same bounded output, cancellation, and sticky-error path as bzip2 and gzip. LZ4 frames are parsed incrementally, with independent blocks scheduled in bounded batches and linked blocks retaining their rolling history.

Low-memory decoding falls back cleanly to serial blocks, Reader overhead is 1.005× the direct writer path, and peak RSS fell from 71.0 MiB to 58.9 MiB. See “Streaming reads” in README and “Architecture” and “Local Reader benchmark” in DEV for details.

@jph00 jph00 added the enhancement New feature or request label Aug 25, 2026
@jph00
jph00 merged commit e69f48a into main Aug 25, 2026
@jph00
jph00 deleted the pr/add-incremental-lz4-streaming-reads branch August 25, 2026 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant