Closed povilasb closed 5 years ago
Update peek_iter() to yield most recently used items first. This is useful when we are trying to serialize the cache, etc.
Currently, peek_iter() yields items sorted by their key which does not make a lot of sense in LRU cache.
r? @Fraser999
(maidsafe_highfive has picked a reviewer for you, use r? to override)
Update peek_iter() to yield most recently used items first. This is useful when we are trying to serialize the cache, etc.
Currently, peek_iter() yields items sorted by their key which does not make a lot of sense in LRU cache.