This is an LRU cache specifically to work with arbitrary string values. A More generic implementation would use linked lists of nodes but this is less code and works for arbitrary strings, which was the goal.
This is an LRU cache specifically to work with arbitrary string values. A More generic implementation would use linked lists of nodes but this is less code and works for arbitrary strings, which was the goal.