Re:JavaScript Timeout and Interval Manager
by rudasn on Saturday November 03, 2012 @09:27AM
(#4736540)
This would be much much helpful if you had a single timer ticking and would check to see which callbacks it should call on every tick. I would think the goal would be to minimize the amount of timers you have on a page.
[ Parent
| on HN ]
Re:JavaScript Timeout and Interval Manager
by msfeldstein on Saturday November 03, 2012 @02:34PM
(#4737469)
Are timers expensive or something? It seems like having a constantly ticking (and calling back) clock would be more costly.