Expand description
utils.rs - Optimization and Utility Functions for horon-engine
§Utility functions for horon-engine
This module provides high-performance utility functions for the crate:
- SIMD-optimized vector operations (delegates to gMath’s internal SIMD when available)
- Hyperbolic geometry calculations for the Poincaré disk model
- Performance monitoring tools for benchmarking and optimization
- CPU feature detection for runtime selection of optimal algorithms
Structs§
- CpuFeatures
- CPU feature detection result.
- Performance
Monitor - Performance monitoring for HTT operations.
- Simd
Optimization - SIMD optimization module for vector operations.
Functions§
- format_
duration_ ms - Formatted duration in milliseconds (display-boundary f64 usage).
- format_
duration_ us - Formatted duration in microseconds.