diff options
author | Matti Picus <matti.picus@gmail.com> | 2020-12-02 23:42:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-02 23:42:47 +0200 |
commit | 03692a740083a7ab54cd09a7c564cd1bbbe5c067 (patch) | |
tree | 815e227a8a89f1e85f9150c2deff009e8ea9d4b7 /doc | |
parent | c310f75c59fb5cfa2fcb58922db5cc78a304d447 (diff) | |
parent | 28aa88312164987462b1e7744e0efb5bee65c724 (diff) | |
download | numpy-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-x | doc/release/upcoming_changes/17727.performance.rst | 7 |
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.
|