Priority: High
Current Behavior
AVX-512 distance calculations fall back to AVX2 implementation. The AVX-512 code paths exist but are not fully optimized.
Expected Behavior
Full AVX-512 implementation for maximum performance on supported hardware (2-3x speedup over AVX2).
Technical Details
- Location:
crates/ruvector-postgres/src/distance/simd.rs
- Current state: AVX-512 feature flags exist but implementation uses AVX2 intrinsics
- Affected operations: L2, cosine, inner product, Manhattan distance
Acceptance Criteria
Impact
~2-3x potential performance improvement for distance calculations on modern Intel/AMD CPUs with AVX-512 support.
Priority: High
Current Behavior
AVX-512 distance calculations fall back to AVX2 implementation. The AVX-512 code paths exist but are not fully optimized.
Expected Behavior
Full AVX-512 implementation for maximum performance on supported hardware (2-3x speedup over AVX2).
Technical Details
crates/ruvector-postgres/src/distance/simd.rsAcceptance Criteria
Impact
~2-3x potential performance improvement for distance calculations on modern Intel/AMD CPUs with AVX-512 support.