> Then test it. > I'm sure we don't need to hold your hand. I asked on this list to learn the facts the core developers are basing their opinions on. Sure I can do everything on my own, but - as I see it - we all do profit if we exchange our experiences and try to improve our understanding of the issue together. Your answer wasn't productive at all. Ok, I now tested the different methods for two hours, at least I tried to do so (JavaScript and Browsers are a cruel programming environment esp. for memory debugging!). I couldn't notice any difference in memory handling for the three different routines (IE5.5 on Win2k, IE4 on Win98 and Mozilla on Win2k): c = null, delete c and doing nothing. I based my conclusion on the memory the browser process allocated while playing with the attached html page. Does someone know a better testing method? StephanTitle: DynAPI Distribution: Delete Example Make 100 layers
Delete all layers (delete c)
Delete all layers (c = null)
Delete all layers (none)