v1.2.0: Assembly Optimizations & StreamDecoder Improvements 🚀
We are excited to announce a new release of SilentJSON! This update brings significant performance improvements at the lowest level and introduces major enhancements to our streaming capabilities.
🚀 What's New
Fast Assembly Routines (fast_asm): We've introduced highly optimized assembly implementations for key parsing bottlenecks. This further reduces CPU latency and pushes our reflection-free processing speeds even higher.
Enhanced StreamDecoder Performance: The stream boundary scanner has been significantly optimized, specifically improving string skipping operations when processing infinite JSON arrays from an io.Reader.
New Benchmarks & Documentation: The README has been updated to include extensive benchmarks for the StreamDecoder. Our streaming parser now reliably hits ~477 MB/s while maintaining a strict, bounded memory footprint (e.g., 256KB buffer), easily outperforming other streaming alternatives.
🛠️ Commits Highlights
perf: Optimize stream boundary scanner string skipping.
feat: Integrate fast_asm for low-level performance boosts.
docs: Add StreamDecoder section to README with detailed benchmarks.
Full Changelog: https://github.com/GenshIv/silentjson/commits/main