Changes between Initial Version and Version 1 of Ticket #21351, comment 7
- Timestamp:
- Nov 1, 2013, 2:28:55 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #21351, comment 7
initial v1 1 Replacing `memoize` by `lru_cache` will probably take some work to get right, as `memoize` allows one to provide a dict for caching. `lru_cache` hides the cache from the user, only allowing the instrumented `c lear_cache()` for clearing the cache altogether.1 Replacing `memoize` by `lru_cache` will probably take some work to get right, as `memoize` allows one to provide a dict for caching. `lru_cache` hides the cache from the user, only allowing the instrumented `cache_clear()` for clearing the cache altogether.