|Version 3 (modified by sasha, 7 years ago)|
Areas of NumPy that have come up as possible slow points:
- PyArray?_EnsureArray. It seems to be slow for python ints. This came up as a possible culprit for some pow() slowness. PyArray?_EnsureArray could special-check Python scalars for a speed-up.
- Default (digits=0) case of around is 10x slower than (x+0.5).astype(int).astype(float)