Changes between Version 1 and Version 2 of Ticket #21351, comment 7


Ignore:
Timestamp:
11/01/2013 03:22:51 PM (18 months ago)
Author:
bouke
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21351, comment 7

    v1 v2  
    11Replacing `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.
     2
     3**Update:** after my patch I found that although the cache is now hidden, this 'feature' was not used by Django except for clearing the caches.
Back to Top