Skip to content

dictionary API#488

Open
Victor-C-Zhang wants to merge 3 commits intofacebook:devfrom
Victor-C-Zhang:export-D95832106
Open

dictionary API#488
Victor-C-Zhang wants to merge 3 commits intofacebook:devfrom
Victor-C-Zhang:export-D95832106

Conversation

@Victor-C-Zhang
Copy link
Contributor

Differential Revision: D95832106

Summary:
This API is a pared down version that pushes a lot of the heavy lifting into the ZL_DictLoader implementation. Rather than fully specifying the dict store construct, we create a minimal API that enables the integration with Managed Compression and is sufficient for the purposes of the cctx/dctx.

Note the use of C++ in the definitions of the ZL_DictLoader itself. I anticipate our biggest use cases will be sophisticated systems like Managed Compression, for whom an ergonomic C++ interface is a P0. The C API will use the same tricks as we have always used to enable C++ class semantics.

Differential Revision: D95292077
Differential Revision: D95403498
Differential Revision: D95832106
@meta-cla meta-cla bot added the cla signed label Mar 9, 2026
@meta-codesync
Copy link

meta-codesync bot commented Mar 9, 2026

@Victor-C-Zhang has exported this pull request. If you are a Meta employee, you can view the originating Diff in D95832106.

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