What's changed
- Regex Crate Upgrade: Upgraded the
regexcrate to a newer version for better performance. - Concurrency Improvements: Replaced
lazy_static!withonce_cell::sync::LazyandRwLock, allowing more efficient concurrent reads. - Refactoring and Cleanup: Reduced cloning of large data structures to improve throughput.
- Performance Gains: Benchmarks show significant improvements compared to the previous version:
pluralizecalls: ~7.6 ms (over 100x faster)- Rule operations: ~7.8 ms (over 35x faster)
Full Changelog: 0.4.0...0.5.0