PHP Classes

File: src/Services/MemoizeManager.php

Recommend this page to a friend!
  Classes of tomloprod   Memoize   src/Services/MemoizeManager.php  
File: src/Services/MemoizeManager.php
Role: Class source
Content typex: text/plain
Description: Class source
Class: Memoize
Store and retrieve cache values in arrays
Author: By
Last change: chore: clean up obsolete comments
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
Date: 1 month ago
Size: 8,889 bytes

You need to be a registered user and login to get this file.

1,617,929 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on: