Expand description
SIMD-Optimized Distance Array Operations
Provides vectorized operations for distance arrays:
- Parallel min/max finding
- Batch distance updates
- Vector comparisons
Uses WASM SIMD128 when available, falls back to scalar.
Structs§
- Distance
Array - Aligned distance array for SIMD operations
- Priority
Entry - Priority queue entry for Dijkstra with SIMD-friendly layout
- Simd
Distance Ops - SIMD-optimized distance operations
Constants§
- SIMD_
ALIGNMENT - Alignment for SIMD operations (64 bytes for AVX-512 compatibility)
- SIMD_
LANES - Number of f64 elements per SIMD operation