Performance optimization release: eliminates redundant fast_spread computations in all sparity-dependent estimators across all 7 languages, halving the O(n log n) cost for spread, avg_spread, disparity, and their bounds variants.
Improvements
- Remove redundant
fast_spreadcalls in sparity-dependent estimators:check_sparity/checkSparity/Assertion.Sparitypreviously computedfast_spreadinternally, only for the caller to compute it again — doubling the O(n log n) cost. Point estimators (spread,avg_spread,disparity) now computefast_spreadonce and post-check the result. Bounds estimators (spread_bounds,avg_spread_bounds,disparity_bounds) inline the check directly. Applies to all 7 languages (C#, Go, Kotlin, Python, R, Rust, TypeScript).
Full Changelog: https://github.com/AndreyAkinshin/pragmastat/compare/v10.0.2...v10.0.3
Release notes generated by herald v1.0.4