| Last change: |
feat: implement LRU cache system with namespace support
- Add MemoEntry class with doubly linked list for efficient LRU operations
- Implement namespace support via for() method for better cache organization
- Add configurable maximum cache size with automatic eviction
- Add hit tracking and access time recording for performance analysis
Breaking changes:
- memo() method now accepts nullable key for namespace scenarios
- keys() method replaced with getMemoizedValues() returning MemoEntry objects
|