Skip to content

remove X6 huffman decoder from legacy v0.2 - #4780

Merged
Cyan4973 merged 2 commits into
devfrom
fix_T287711094
Sep 11, 2026
Merged

remove X6 huffman decoder from legacy v0.2#4780
Cyan4973 merged 2 commits into
devfrom
fix_T287711094

Conversation

@Cyan4973

Copy link
Copy Markdown
Contributor

The fast loop in HUF_decompress4X6_usingDTable was an experiment,
it did not prove successful and was removed in v0.3.
Meanwhile, its code is complex, and adds to attack surface.

The remaining decoders can do the work and produce identical output.

The fast loop in HUF_decompress4X6_usingDTable was an experiment,
if did not prove successful and was removed in v0.3.
Meanwhile, the code is complex, and adds to attack surface.

The work is done by remaining decoders which produce identical output.
@Cyan4973 Cyan4973 self-assigned this Sep 10, 2026
@meta-cla meta-cla Bot added the CLA Signed label Sep 10, 2026
Comment thread lib/legacy/zstd_v02.c Outdated
Yes, that's better

Co-authored-by: Nick Terrell <terrelln@fb.com>
@Cyan4973
Cyan4973 merged commit 25218bd into dev Sep 11, 2026
109 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants