Skip to content

Add encoder selector to LZ4 plugin 32004 via cd_values[1]#267

Open
ajelenak wants to merge 2 commits into
masterfrom
lz4-encoder-param
Open

Add encoder selector to LZ4 plugin 32004 via cd_values[1]#267
ajelenak wants to merge 2 commits into
masterfrom
lz4-encoder-param

Conversation

@ajelenak

@ajelenak ajelenak commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

A new signed cd_values[1] slot selects LZ4HC level (positive), fast-encoder acceleration (negative), or the legacy LZ4_compress_default (zero/absent), with HC level clamped to [LZ4HC_CLEVEL_MIN, LZ4HC_CLEVEL_MAX]. The on-disk chunk format is unchanged, so existing archives and the reverse filter continue to work without modification.

Closes #244.

ajelenak and others added 2 commits June 26, 2026 19:23
A new signed `cd_values[1]` slot selects LZ4HC level (positive), fast-encoder
acceleration (negative), or the legacy LZ4_compress_default (zero/absent),
with HC level clamped to [`LZ4HC_CLEVEL_MIN`, `LZ4HC_CLEVEL_MAX`]. The on-disk
chunk format is unchanged, so existing archives and the reverse filter
continue to work without modification.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add LZ4HC and fast-encoder acceleration parameter to LZ4 plugin 32004

2 participants