What is the fastest library/algorithm for calculating simple moving average? I wrote my own, but it takes too long on 330 000 items decimal dataset.
The current (accepted) solution contains an inner loop. It would be more efficient to remove this as well. You can see how this is achieved here:
How to efficiently calculate a moving Standard Deviation