mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
checkpoint: File edit:
🚀 Generated with [Claude Code](https://claude.com/claude-code) 📊 V3 Development Progress Checkpoint Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
This commit is contained in:
1 parent
969ffc221b
commit
a5c2dfced8
1 file changed
+3
@@ -143,6 +143,9 @@ export class AgentDBBackend extends EventEmitter implements IMemoryBackend {
|
||||
private namespaceIndex: Map<string, Set<string>> = new Map();
|
||||
private keyIndex: Map<string, string> = new Map();
|
||||
|
||||
// O(1) reverse lookup for numeric ID -> string ID (fixes O(n) linear scan)
|
||||
private numericToStringIdMap: Map<number, string> = new Map();
|
||||
|
||||
// Performance tracking
|
||||
private stats = {
|
||||
queryCount: 0,
|
||||
|
||||
Reference in new issue
Block a user