mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-05-26 16:04:02 +00:00
Bottleneck 1 - Parser: 18.3s → 4.5s (4x faster) - Single-pass body scanner replaces 3 regex passes per declaration - scan_body_single_pass() collects strings, props, idents in one traversal Bottleneck 2 - Partitioning: skipped → 33s (now works on 27K nodes) - Louvain community detection for graphs ≥5K nodes - Detects 1,029 modules in Claude Code (was 1 or skipped) - Falls back to exact MinCut for <5K nodes Bottleneck 3 - Memory: 592MB → 568MB (incremental, more needed) - Pre-allocated output buffers in beautifier - Direct write via format_declaration_into() / indent_braces_into() Bottleneck 4 - Name inference: 5.2% → 5.2% HIGH (training data loaded) - 50 domain-specific patterns in data/claude-code-patterns.json - TrainingCorpus with compile-time embedding via include_str!() - Runtime corpus loading via TrainingCorpus::from_json() 51 tests passing, zero warnings. Co-Authored-By: claude-flow <ruv@ruv.net> |
||
|---|---|---|
| .. | ||
| run_on_cli.rs | ||