diff options
| author | Bouke Haarsma <bouke@webatoom.nl> | 2013-11-01 21:15:41 +0100 |
|---|---|---|
| committer | Baptiste Mispelon <bmispelon@gmail.com> | 2013-11-11 08:53:09 +0100 |
| commit | 9b7455e918a437c3db91e88dcbf6d9c93fef96f8 (patch) | |
| tree | 4cda7466ec20e5255633e7447eaa03ad5450bf24 /docs/internals | |
| parent | 6c5f5b9a414b8bdfafc45db5710acf200cca9885 (diff) | |
Fixed #21351 -- Replaced memoize with Python's lru_cache.
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.
Diffstat (limited to 'docs/internals')
| -rw-r--r-- | docs/internals/deprecation.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index f2e2c4c2f7..f2d121e641 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -479,6 +479,8 @@ these changes. * The ``zh-cn`` and ``zh-tw`` language codes will be removed and have been replaced by the ``zh-hans`` and ``zh-hant`` language code respectively. +* The internal ``django.utils.functional.memoize`` will be removed. + 2.0 --- |
