ruvector/crates/ruvector-core/src
Claude 520dd9cbce
feat: Add benchmarks section to README, fix critical security issues
## README Updates
- Add real benchmark data (HNSW: 61µs, Cosine: 143ns, DotProduct: 33ns)
- Update comparison table with actual measured latency

## Security Fixes (Critical)
- cache_optimized.rs: Add integer overflow protection with checked_mul
- cache_optimized.rs: Add MAX_DIMENSIONS (65536) and MAX_CAPACITY limits
- mmap.rs: Add bounds validation for node_id before pointer arithmetic
- mmap.rs: Use checked arithmetic in embedding_offset()
- api.rs: Fix timing attack in token comparison with constant-time loop
- api.rs: Use strip_prefix() instead of slice indexing to prevent panic
- lib.rs (wasm): Add MAX_VECTOR_DIMENSIONS limit to prevent DoS

## Security Review Summary
- 3 CRITICAL issues fixed (memory operations, integer overflow)
- 3 HIGH issues addressed (bounds validation, timing attacks)
- 4 MEDIUM issues mitigated (allocation limits, input validation)
2025-11-26 13:20:36 +00:00
..
advanced feat: Implement all previously ignored features 2025-11-26 01:07:57 +00:00
advanced_features feat: Complete ALL Ruvector phases - production-ready vector database 2025-11-19 14:37:21 +00:00
index fix: Resolve 8 compilation errors - HNSW DataId, bincode serde, Send trait, lifetime, type cast 2025-11-19 15:48:00 +00:00
advanced_features.rs feat: Complete ALL Ruvector phases - production-ready vector database 2025-11-19 14:37:21 +00:00
agenticdb.rs fix: Resolve 8 compilation errors - HNSW DataId, bincode serde, Send trait, lifetime, type cast 2025-11-19 15:48:00 +00:00
arena.rs fix: Resolve 8 compilation errors - HNSW DataId, bincode serde, Send trait, lifetime, type cast 2025-11-19 15:48:00 +00:00
cache_optimized.rs feat: Add benchmarks section to README, fix critical security issues 2025-11-26 13:20:36 +00:00
distance.rs fix: Resolve test failures - all 16 tests passing 2025-11-19 13:53:32 +00:00
error.rs feat: Add ruvector-gnn crate with GNN, compression, WASM and Node.js bindings 2025-11-26 04:50:36 +00:00
index.rs feat: Add ruvector-gnn crate with GNN, compression, WASM and Node.js bindings 2025-11-26 04:50:36 +00:00
lib.rs feat: Phase 3 - WASM architecture with in-memory storage 2025-11-21 13:40:34 +00:00
lockfree.rs feat: Complete ALL Ruvector phases - production-ready vector database 2025-11-19 14:37:21 +00:00
quantization.rs feat: Implement Ruvector Phase 1 foundation 2025-11-19 13:39:33 +00:00
simd_intrinsics.rs feat: Complete ALL Ruvector phases - production-ready vector database 2025-11-19 14:37:21 +00:00
storage.rs fix: Resolve database locking and package loading issues 2025-11-21 21:00:23 +00:00
storage_compat.rs feat: Phase 3 - WASM architecture with in-memory storage 2025-11-21 13:40:34 +00:00
storage_memory.rs feat: Add ruvector-gnn crate with GNN, compression, WASM and Node.js bindings 2025-11-26 04:50:36 +00:00
types.rs feat: Implement Ruvector Phase 1 foundation 2025-11-19 13:39:33 +00:00
vector_db.rs feat: Phase 3 - WASM architecture with in-memory storage 2025-11-21 13:40:34 +00:00