numpy/numpy — pull request #4783 by juliantaylor (2014-06-04 22:31:08+00:00)
Title: 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 this are implemented
optimimally by the compiler while for the generic call the compiler
needs to call out to libc.