Releases: KennethGomez/pluralizer
Releases · KennethGomez/pluralizer
v0.5.0
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
0.4.0
What's changed
- Code style changes
- Remove initialize method
- Increment significantly (90%) library speed and removes initialize method.
- Now
add_plural_ruleandadd_singular_ruleaccept a Regex instead of a String - Now
add_uncountable_ruleaccepts an enumUncountableRulethat allows Regex and String addition
Full Changelog: 0.3.2...0.4.0
0.3.2
This version includes the functional package.