this is more of a theoretical question on autocorrelation function and computer performance.
https://en.wikipedia.org/wiki/Autocorrelation#Estimation
(sorry no