summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2020-12-02 23:42:47 +0200
committerGitHub <noreply@github.com>2020-12-02 23:42:47 +0200
commit03692a740083a7ab54cd09a7c564cd1bbbe5c067 (patch)
tree815e227a8a89f1e85f9150c2deff009e8ea9d4b7 /doc
parentc310f75c59fb5cfa2fcb58922db5cc78a304d447 (diff)
parent28aa88312164987462b1e7744e0efb5bee65c724 (diff)
downloadnumpy-03692a740083a7ab54cd09a7c564cd1bbbe5c067.tar.gz
Merge pull request #17727 from ganesh-k13/enh_14959-libdivide
ENH: Added libdivide for floor divide
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/release/upcoming_changes/17727.performance.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/release/upcoming_changes/17727.performance.rst b/doc/release/upcoming_changes/17727.performance.rst
new file mode 100755
index 000000000..7b447a3b2
--- /dev/null
+++ b/doc/release/upcoming_changes/17727.performance.rst
@@ -0,0 +1,7 @@
+Improved performance in integer division of NumPy arrays
+--------------------------------------------------------
+Integer division of NumPy arrays now uses `libdivide <https://libdivide.com/>`
+when the divisor is a constant. With the usage of libdivde and
+other minor optimizations, there is a large speedup.
+The ``//`` operator and ``np.floor_divide`` makes use
+of the new changes.