numpy fft is fast for lengths that are products of small primes, but how small?
问题 I've seen several examples showing that if the input length is a product of 2,3,5,7 etc. then numpy's fft implementation is fast. But what is the largest prime number that is still considered "small" here? 回答1: Note that scipy's FFT has radices of 2, 3, 4, and 5 (reference) . I assume numpy may have a similar implementation, which would make 5 the largest efficient prime factor in FFT lengths. Empirically, the largest prime I'd consider "small" for the purpose of FFT performance is 11. But