mirror of
https://github.com/django/django.git
synced 2024-11-18 15:34:16 +00:00
9b7455e918
Replaced the custom, untested memoize with a similar decorator from Python's 3.2 stdlib. Although some minor performance degradation (see ticket), it is expected that in the long run lru_cache will outperform memoize once it is implemented in C. Thanks to EvilDMP for the report and Baptiste Mispelon for the idea of replacing memoize with lru_cache. |
||
---|---|---|
.. | ||
__init__.py | ||
models.py | ||
tests.py |