Add performance optimizations and benchmarks
Performance improvements:
- Fast 4-byte-at-a-time match length comparison
- Sparse hashing for long matches (skip hashing every 4th byte)
- Better code comments for hot path operations
Benchmarks:
- Synthetic data tests (repeated patterns, random data)
- Standard corpus files (alice29.txt, html, urls.10K)
- Reports compression ratio and throughput in MB/s
Results on test system:
- Compression: 70-370 MB/s depending on data compressibility
- Decompression: 20-9000 MB/s (faster for incompressible data)
- Compression ratios match expected Snappy behavior
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>