Skip to content

Latest commit

 

History

History
executable file
·
7 lines (7 loc) · 391 Bytes

17727.performance.rst

File metadata and controls

executable file
·
7 lines (7 loc) · 391 Bytes

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.