Skip to content

0.23.0

Compare
Choose a tag to compare
@jqnatividad jqnatividad released this 07 Dec 23:00
· 30 commits to master since this release
5da6829

qsv-stats 0.23.0 Release Notes

New Features

  • Added geometric mean calculation support
  • Added harmonic mean calculation support

Performance Improvements

  • Removed unnecessary bounds checks in median calculation on sorted data
  • Optimized quartiles calculation on sorted data
  • Reduced initial frequency map capacity from 10k to 1k for better memory usage
  • Added several performance-oriented frequency calculation helpers:
    • Added fast path for incrementing existing frequency values
    • Added optimized methods for frequency analysis without full sorting
    • Added efficient top_n() and bottom_n() methods for frequency counts

Code Quality

  • Updated minimum supported Rust version (MSRV) to 1.83
  • Fixed various Clippy warnings:
    • Removed unnecessary map_or usage
    • Applied suggested if_not_else patterns
    • Added const qualifiers where appropriate
    • Fixed option_if_else patterns
    • Improved other miscellaneous Clippy suggestions

Internal Changes

  • Refactored frequency sampling implementation
  • Added additional frequency helper methods:
    • items_with_count()
    • total_count()
    • has_count()
  • Improved code organization and documentation

Dependencies

  • No breaking changes to external dependencies