Skip to content

Conversation

@Cyan4973
Copy link
Contributor

This PR adds a verification at the production of each Chunk,
which kicks in whenever the Graph has expanded instead of contracted original data
and replaces it by STORE.

This in turns makes OpenZL's compressBound() much more predictable.
A future update could tighten it.

automatically detects when compressing a chunk expands rather than contract space.
Replace it by a STORE operation in this case, reducing the overhead and decompression time.

This is also useful to better control worst case expansion, which has a direct impact on compressBound().

Note: it will be possible to tighten compressBound() after this patch.
@Cyan4973 Cyan4973 self-assigned this Oct 31, 2025
@meta-cla meta-cla bot added the cla signed label Oct 31, 2025
@meta-codesync
Copy link

meta-codesync bot commented Nov 1, 2025

@Cyan4973 has imported this pull request. If you are a Meta employee, you can view this in D86003507.

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