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

I did something similar the other day but I end up using a circular buffer of fixed size. Everytime you push a new state the oldest state gets discarded.


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

Search: