Changes between Version 4 and Version 5 of LRUCache
- Timestamp:
- 11/13/07 17:35:36 (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
LRUCache
v4 v5 2 2 3 3 4 == Warnings & Limitations:==4 == Warnings & Limitations == 5 5 6 6 nodeId is kept as a ushort. When the maximum nodeId is too large, the entire cache is renumbered. This causes use history to be lost at that point. I estimate that this will be infrequent, and not a significant loss of efficiency, but it can result in more recently used members being forgotten before less frequently used members.