summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLion Krischer <krischer@geophysik.uni-muenchen.de>2016-05-27 17:06:56 +0200
committerLion Krischer <krischer@geophysik.uni-muenchen.de>2016-06-06 19:51:12 +0200
commit2de9651b99da9d3308de5df510cfd28c1a3a0f19 (patch)
treecfe67667ac9620a2668d1d06928f5b5008868ad3 /doc
parentf65b233dc5689ecbb79a4ed8a383ef0251bc39c6 (diff)
downloadnumpy-2de9651b99da9d3308de5df510cfd28c1a3a0f19.tar.gz
ENH: Changing FFT cache to a bounded LRU cache
Replaces the simple dictionary caches for the twiddle factors of numpy.fft to bounded LRU (least recently used) caches. The caches can thus no longer grow without bounds. See #7686.
Diffstat (limited to 'doc')
-rw-r--r--doc/release/1.12.0-notes.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/release/1.12.0-notes.rst b/doc/release/1.12.0-notes.rst
index 9302e02c6..028d77663 100644
--- a/doc/release/1.12.0-notes.rst
+++ b/doc/release/1.12.0-notes.rst
@@ -185,6 +185,13 @@ Add ``bits`` attribute to ``np.finfo``
This makes ``np.finfo`` consistent with ``np.iinfo`` which already has that
attribute.
+Caches in `np.fft` are now bounded in total size and item count
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+The caches in `np.fft` that speed up successive FFTs of the same length can no
+longer grow without bounds. They have been replaced with LRU (least recently
+used) caches that automatically evict no longer needed items if either the
+memory size or item count limit has been reached.
+
Changes
=======