Show More
@@ -540,10 +540,6 b' class lrucachedict(object):' | |||
|
540 | 540 | we recycle head.prev and make it the new head. Cache accesses result in |
|
541 | 541 | the node being moved to before the existing head and being marked as the |
|
542 | 542 | new head node. |
|
543 | ||
|
544 | NOTE: construction of this class doesn't scale well if the cache size | |
|
545 | is in the thousands. Avoid creating hundreds or thousands of instances | |
|
546 | with large capacities. | |
|
547 | 543 | """ |
|
548 | 544 | def __init__(self, max): |
|
549 | 545 | self._cache = {} |
General Comments 0
You need to be logged in to leave comments.
Login now