3 ms·
This is definitely not my field, but a sliding window requires N values to be stored (the window size, so you can subtract each element that ages out of the win
by nitrogen 6y ago
This is definitely not my field, but a sliding window requires N values to be stored (the window size, so you can subtract each element that ages out of the window from the running sum), while this appears to require only 1 value to be stored.