mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-10-27 07:51:52 +00:00
- Implemented LexicalIndex class in src/services/memory/retriever.js. - Added WeakMap caching for indices based on memory array references. - Improved memory array stability in src/services/memory/index.js using a storeVersion counter. - Achieved ~2x speedup for 10k memories and ~9x speedup for 100k memories in benchmarks. - Maintains compatibility with existing textMatchSimilarity scoring. Co-authored-by: PR0M3TH3AN <[email protected]>