Skip to content

v0.8.0 - Gamma Distribution Complete + Infrastructure Consolidation

Choose a tag to compare

@OldCrow OldCrow released this 07 Aug 07:05
· 135 commits to main since this release

This release marks a significant architectural milestone with the completion of the Gamma distribution and comprehensive infrastructure refactoring that consolidates duplicate code across all distributions.

🎯 Complete Statistical Distribution Set (6/6):
✅ Gaussian (Normal), Exponential, Uniform, Poisson, Discrete, Gamma

  • All distributions feature complete PDF/CDF/quantile implementations
  • Advanced numerical stability for edge cases and extreme values
  • Comprehensive parameter estimation with MLE and method-of-moments
  • Statistical validation including goodness-of-fit tests

🏗️ Infrastructure Consolidation:

  • DispatchUtils: Template metaprogramming for centralized auto-dispatch strategy
  • Unified batch processing methodology across all distributions
  • Consolidated SIMD optimization with runtime CPU feature detection
  • Refactored helper classes with single responsibility principles

⚡ Performance Architecture:

  • Smart auto-dispatch selects optimal execution strategy (SCALAR/SIMD/PARALLEL)

  • Advanced caching with memory pressure management

  • Cross-platform SIMD with conservative fallback paths

  • Work-stealing thread pools with adaptive grain sizing

    Enhanced Testing Framework:
    
  • Dual test architecture: basic functional + advanced performance tests

  • SIMD validation with correctness verification

  • Statistical test coverage including bootstrap methods and information criteria

  • Performance benchmarking with speedup analysis

🔧 Technical Patterns:

  • Template metaprogramming: Compile-time strategy selection
  • Inheritance: DistributionBase virtual dispatch for common operations
  • Strategy pattern: Runtime performance optimization selection
  • CRTP: Type-safe specialization where beneficial

This release establishes a solid foundation for v1.0 with all core distributions complete, infrastructure consolidated, and comprehensive testing in place.