Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can compute a sliding window average with the same amount of storage, and greater accuracy.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: