Skip to content

v0.2.0 - Tag Optimization & Real-World Benchmarks

Choose a tag to compare

@ImGajeed76 ImGajeed76 released this 11 Dec 22:42
6eadde2

🎯 Highlights

  • 2-byte median deltas on code repositories through intelligent tag optimization
  • Tested on 1.2 million real-world git changes across tokio and mdn/content
  • 88.7% smaller deltas on code vs sequential mode (tag optimization impact)
  • Enhanced CLI with memory management and progress indicators
  • Complete benchmark infrastructure rewrite with environment variable configuration

Performance

tokio (code):

  • Median delta: 2 bytes (99.8% space saved)
  • Tag optimization provides 88.7% improvement over sequential

mdn/content (docs):

  • Median delta: 23 bytes (99.4% space saved)
  • Tag optimization provides 8.8% improvement over sequential

Improvements

  • Optimized encode_remove to use length encoding instead of absolute positions

Full Changelog

See CHANGELOG.md for complete details.
GitHub Changelog: https://github.com/ImGajeed76/xpatch/commits/v0.2.0