Skip to content

Conversation

@terrelln
Copy link
Contributor

@terrelln terrelln commented Feb 5, 2026

Summary:
Port the optimizations from Crunch in D92286807 back into the codebase.

I ported the Crunch code exactly as-is, and then merged the optimizations back into the codebase as-needed to get the same performance. The only optimization that mattered was loading all the control bytes and LUT entries up front.

Differential Revision: D92425118

Summary: Fix a problem where we were emitting matches longer than 2^16-1, and then storing them in a `uint16_t`.

Differential Revision: D92425119
Summary:
Port the optimizations from Crunch in D92286807 back into the codebase.

I ported the Crunch code exactly as-is, and then merged the optimizations back into the codebase as-needed to get the same performance. The only optimization that mattered was loading all the control bytes and LUT entries up front.

Differential Revision: D92425118
@meta-cla meta-cla bot added the cla signed label Feb 5, 2026
@meta-codesync
Copy link

meta-codesync bot commented Feb 5, 2026

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

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