Skip to content

Releases: KennethGomez/pluralizer

v0.5.0

17 Jan 17:51

Choose a tag to compare

What's changed

  • Regex Crate Upgrade: Upgraded the regex crate to a newer version for better performance.
  • Concurrency Improvements: Replaced lazy_static! with once_cell::sync::Lazy and RwLock, 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:
    • pluralize calls: ~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

09 Mar 14:53

Choose a tag to compare

What's changed

  • Code style changes
  • Remove initialize method
  • Increment significantly (90%) library speed and removes initialize method.
  • Now add_plural_rule and add_singular_rule accept a Regex instead of a String
  • Now add_uncountable_rule accepts an enum UncountableRule that allows Regex and String addition

Full Changelog: 0.3.2...0.4.0

0.3.2

28 Feb 20:14

Choose a tag to compare

This version includes the functional package.