numpy/numpy — pull request #5122 by juliantaylor (2014-09-25 22:11:04+00:00)
Title: ENH: add special small dot function

For cases like convolve/correlate with small kernel calling out to BLAS
dot is very slow as it goes through many wrappers and BLAS is typically
optimized for very large data.
So add a template utility file and add a special function for small dot
products.
2-4 times faster than openblas dot for kernel sizes < 11.