Currently developing a JavaScript based animation project. I have noticed that, proper use of setInterval(), setTimeout() and even requestAnimationFrame allocates memory without my request, and causes frequent garbage collection calls. More GC calls = flickers :-( For instance; when I execute the following simple code by calling init() in Google Chrome, memory allocation + garbage collection is fi
