diff options
author | Julian Taylor <jtaylor.debian@googlemail.com> | 2014-06-05 00:23:38 +0200 |
---|---|---|
committer | Julian Taylor <jtaylor.debian@googlemail.com> | 2014-06-05 00:31:38 +0200 |
commit | b9b9add7276a31447aba3caf0eeb68ab2f20fa1b (patch) | |
tree | bce61a681cf4f20b0f8b70495b00d7798aaac19c /numpy/core/function_base.py | |
parent | 7860d2ed526d6d1f74ca84826782bf84d0db9b2e (diff) | |
download | numpy-b9b9add7276a31447aba3caf0eeb68ab2f20fa1b.tar.gz |
ENH: use copyswap instead of memmove for flat assignment
improves d.flat = x performance by about 35% for basic types as the
copyswap functions have known elementsizes and these are implemented
optimally by the compiler while for the generic call the compiler needs
to call out to libc.
Diffstat (limited to 'numpy/core/function_base.py')
0 files changed, 0 insertions, 0 deletions