pydata/pandas — pull request #3130 by stephenwlin (2013-03-21 20:37:49+00:00)
Title: PERF: Limit memmove to >= 64 bytes, relax contiguity requirements

As per #3089, for now, I'm putting in a "magic" lower limit for memmove of 64 bytes (32 bytes was the case in the affected tests), which seems to be reasonable from local testing (::dubious::), unless someone on StackOverflow (http://stackoverflow.com/questions/15554565/forcing-gcc-to-perform-loop-unswitching-of-memcpy-runtime-size-checks) gives me a better idea of what to do.

Also, realized that only the stride in the dimension of the copy matters (i.e. the entire array doesn't have to be contiguous, only the copied subarrays do), so relaxed that requirement (non-contiguous cases don't seem to be tested in our performance regressions, since they're pretty shallow unfortunately, but they do happen often in practice...this should be addressed by #3114).