numpy/numpy — pull request #5031 by charris (2014-09-02 15:16:43+00:00)
Title: MAINT: Make numpy/lib/polynomial/polyval a bit faster.

Multiplying a numpy_scalar times a numpy_array is much faster than
the other way around. This PR switches the order of multiplication
in the polyval function resulting in a speedup of about 5x for scalar
values of x.

Closes #4610.