mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-10-31 09: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]>
14 lines
309 B
Markdown
14 lines
309 B
Markdown
# Lexical Search Baseline Performance
|
|
|
|
Date: Fri Feb 20 03:31:01 UTC 2026
|
|
Environment: Sandbox
|
|
|
|
## Configuration
|
|
- Number of memories: 10,000
|
|
- Number of queries: 100
|
|
- Search type: Full-scan regex matching
|
|
|
|
## Results
|
|
Total time for 100 queries over 10000 memories: 1579.75ms
|
|
Average time per query: 15.80ms
|