Subj : Optimizing DestoryContext() ? To : netscape.public.mozilla.jseng From : bubbfree Date : Thu Jan 27 2005 11:20 am My DestroyContext() calls are taking too much time. I've gone through the SpiderMonkey optimization docs on the website. Was wondering if there are any tips or tricks I could use to get DestroyContext sped up a bit? make fewer objects? call maybe_gc more often? seems to be the gc mark thing inside destroy context that is taking up some time. (depending on the size of my scripts and complexity, it takes about 6-7 seconds to clean up the context). .