[SciPy-User] why is my scipy slow?
Sat Feb 2 07:33:15 CST 2013
02.02.2013 14:58, Pierre Barbier de Reuille kirjoitti:
> In this example, 99% of the time is spent in the convolution operation.
> But you are comparing the generic nD convolution operation in python,
> against the specialized 1D convolution in Matlab. Using the 1D
> convolution of scipy (i.e. scipy.convolve), I get almost a factor 10 in
> speed on my machine.
However, to be fair, scipy.signal.convolve should automatically switch
to the 1-D version of the algorithm, when possible.
Patches are accepted.
More information about the SciPy-User