How are timers implemented? If I have 4-5 timers running in parallel doing various things in my app is it a concern? are they resource intensive?
I have not profiled the setInterval function, but I asume that the memory and CPU footprint shouldn't be much. Nevertheless, setInterval and setTimeout are both referenced in the global scope, so any data or UI object referenced by the callback will stay in memory until the interval is removed. You need to plug the callbacks against memory leaks.
Think you can help? Login to answer this question!