Files
Marc-André Moreau 7606bfffcf Optimize bulk compression hot paths with copy_within and chunk comparison
Replace byte-by-byte history buffer copies with copy_within (memmove)
for non-overlapping LZ77 matches in MPPC, NCRUSH, and XCRUSH
decompression. Use 8-byte u64 XOR chunk comparison in NCRUSH and XCRUSH
match-length finding instead of per-byte comparison.

Both optimizations are safe Rust, WASM-compatible, and scale with match
length. Add criterion benchmarks for all four compression algorithms.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-08 19:20:53 -05:00
..