So, I’m having some trouble with garbage collector, especially that of Firefox. Basically, I have an application which involves a lot of animation and objects. The browser runs the whole thing very smoothly, but suddenly get hiccups which makes the animation jump. After some searching, I found that such things are usually caused by the garbage collector.
I also found that the garbage collector is very wild and uncontrollable. There are some IE specific methods, but in general, you have very little control.
So, I wonder, is it possible to help the garbage collector along by using delete to get rid of objects manually? What should I use this on? Only objects? or even variables?
And are there other methods to make the garbage collector behave more nicely?