Subj : Re: JavaScript performance in the real world To : Shanti Rao From : Brendan Eich Date : Fri Sep 17 2004 06:48 pm Shanti Rao wrote: > What I did to solve this problem was write a jsGC() function that calls > JS_GC(). Call it at the end of your loop. This could easily make the runtime go through the roof, because it forces a GC for every loop iteration -- or did you mean "after the end of your loop"? GC should be automated. If script has to call it, the embedding and the engine have failed in their duty to schedule GC well. And I will bet real money that script will call the GC too often, screwing performance. /be .