mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-05-25 06:36:37 +00:00
Bugs fixed: - assert!() in witness verification → proper Err return - Swapped property-to-name mappings in inferrer - Escape sequences in beautifier indent_braces - Doc comments: SHAKE-256 → SHA3-256 (correct hash function) Performance: - Cached regex compilation via once_cell::Lazy (7 regexes) - HashSet for O(1) lookups (was Vec O(n)) - Optimized hex encoding with lookup table - Added ES module export support Benchmarks (criterion): - 1KB: 58μs parse, 230μs pipeline - 10KB: 581μs parse, 1.7ms pipeline - 100KB: 5.4ms parse, 26.2ms pipeline - 1MB: 53.5ms parse (linear scaling) Real-world: Claude Code cli.js (10.53 MB): - 27,477 declarations, 601,653 edges - 1,344 HIGH confidence names (5.2%) - 5,843 MEDIUM confidence names (22.8%) - 24.6s total pipeline time OSS fixtures: lodash, express, redux with self-learning loop Co-Authored-By: claude-flow <ruv@ruv.net> |
||
|---|---|---|
| .. | ||
| bench_parser.rs | ||
| bench_pipeline.rs | ||