mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-05-31 21:49:52 +00:00
Spectral coherence optimizations (50ms → 5ms for 500 vertices): - Reduce Fiedler outer iterations from 50 to 8 - Reduce inner CG iterations from 100 to 15 - Reduce effective resistance samples from 50 to 3 - Reduce resistance CG iterations from 100 to 10 - Reduce power iteration for largest eigenvalue from 50 to 10 Canonical min-cut optimizations: - Replace O(n) Vec::contains with O(1) HashSet lookups in partition membership - Build partition_sets once, reuse across all vertex signature computation - Use HashMap<u16,usize> for O(1) cactus vertex lookup instead of linear scan - Track active count explicitly instead of recounting each phase - Use std::mem::take to avoid clone during merge New benchmark tests for all 4 cognitive stack modules: - canonical_bench: CactusGraph 30v = ~1ms native (ArenaCactus 64v = 3µs WASM) - spectral_bench: SCS 500v = ~5ms (10x improvement from 50ms) - container_bench: 100 ticks = 9µs avg (target: <200µs) - canonical_witness_bench: 64v witness = 3µs (target: <50µs) https://claude.ai/code/session_018QKTLyCUrMUQCRDqoiyEHY |
||
|---|---|---|
| .. | ||
| bounded_integration.rs | ||
| canonical_bench.rs | ||
| certificate_tests.rs | ||
| coverage_tests.rs | ||
| integration_tests.rs | ||
| jtree_tests.rs | ||
| localkcut_integration.rs | ||
| localkcut_paper_integration.rs | ||
| paper_algorithm_tests.rs | ||
| wrapper_tests.rs | ||