summaryrefslogtreecommitdiff
path: root/numpy/polynomial/polyutils.py
diff options
context:
space:
mode:
authorAntony Lee <anntzer.lee@gmail.com>2015-12-05 20:46:09 -0800
committerAntony Lee <anntzer.lee@gmail.com>2016-01-16 20:24:25 -0800
commit5be93a2580a232705e897984d0f920bc6346990e (patch)
tree2f464cc5e9d461b81c5da6b8bfdc4191ea7f253e /numpy/polynomial/polyutils.py
parent865c3e375a598e5a0f7d9e690eda4702de8658af (diff)
downloadnumpy-5be93a2580a232705e897984d0f920bc6346990e.tar.gz
MAINT: memcpy-based ~4x faster, typed shuffle.
Only for 1d-ndarrays exactly, as subtypes (e.g. masked arrays) may not allow direct shuffle of the underlying buffer (in fact, the old implementation destroyed the underlying values of masked arrays while shuffling). Also handles struct-containing-object 1d ndarrays properly. See #6776 for an earlier, less general (but even faster: ~6x) improvement attempt, #5514 for the original issue.
Diffstat (limited to 'numpy/polynomial/polyutils.py')
0 files changed, 0 insertions, 0 deletions