summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Seibert <sseibert@anaconda.com>2018-10-29 11:18:32 -0500
committerStan Seibert <sseibert@anaconda.com>2018-10-29 11:18:32 -0500
commit5ec252bbee0a643cf2c2f1877fbd8a2c83f1c641 (patch)
tree1eb6bb2843660e48c6f6d9788a4bc40684045558
parent94c18654c7564c3380c0bf5e655736196c821c4b (diff)
downloadnumpy-5ec252bbee0a643cf2c2f1877fbd8a2c83f1c641.tar.gz
DOC: update release notes with np.take improvement.
-rw-r--r--doc/release/1.16.0-notes.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/release/1.16.0-notes.rst b/doc/release/1.16.0-notes.rst
index a0613f61d..a5aa78740 100644
--- a/doc/release/1.16.0-notes.rst
+++ b/doc/release/1.16.0-notes.rst
@@ -262,6 +262,11 @@ copying the data directly into the appropriate slice of the resulting array.
This results in significant speedups for these large arrays, particularly for
arrays being blocked along more than 2 dimensions.
+Speedup ``np.take`` for read-only arrays
+----------------------------------------
+The implementation of ``np.take`` no longer makes an unnecessary copy of the
+source array when its ``writeable`` flag is set to ``False``.
+
Changes
=======