Skip to content

Bitpack Huffman tables (#786)#786

Open
terrelln wants to merge 9 commits into
facebook:devfrom
terrelln:export-D105622794
Open

Bitpack Huffman tables (#786)#786
terrelln wants to merge 9 commits into
facebook:devfrom
terrelln:export-D105622794

Conversation

@terrelln
Copy link
Copy Markdown
Contributor

@terrelln terrelln commented May 22, 2026

Summary:

This simplification is a major speed win on small data for a small header size regression. On large data, which is the current focus of OpenZL, the difference is negligible, for both speed and ratio.

A future diff will introduce a new header encoding codec that will achieve the speed of bitpack with the ratio of FSE. I have a draft working, but still have to clean it up. In the meantime we will bitpack.

Reviewed By: Cyan4973

Differential Revision: D105622794

terrelln added 8 commits May 22, 2026 08:59
Differential Revision: D106089170
Differential Revision: D106089168
Differential Revision: D104873678
Summary:
LZ must be a dynamic graph because it invokes a multi-input node (ZL_NODE_MUX_LENGTHS).
But we need to allow overriding the successors in a serialized graph for training and configurability.
So do the same thing that FieldLZ does, which sets the index of the `customGraph` as a local int param.
When the local int param is set, set the corresponding successor to that graph.

Differential Revision: D105367885
Summary: As title

Differential Revision: D105368972
Differential Revision: D102620101
Differential Revision: D102351635
Differential Revision: D102352000
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented May 22, 2026

@terrelln has exported this pull request. If you are a Meta employee, you can view the originating Diff in D105622794.

Summary:
Pull Request resolved: facebook#786

This simplification is a major speed win on small data for a small header size regression. On large data, which is the current focus of OpenZL, the difference is negligible, for both speed and ratio.

A future diff will introduce a new header encoding codec that will achieve the speed of bitpack with the ratio of FSE. I have a draft working, but still have to clean it up. In the meantime we will bitpack.

Reviewed By: Cyan4973

Differential Revision: D105622794
@meta-codesync meta-codesync Bot changed the title Bitpack Huffman tables Bitpack Huffman tables (#786) May 22, 2026
@terrelln terrelln force-pushed the export-D105622794 branch from 292934d to 48c8b9f Compare May 22, 2026 20:26
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.

1 participant