I'm curious if you can just avoid calling removeChild. Here are some alternatives: - set the display attribute to "none" this will make it not visible - call appendChild on another element this will remove from current location and put in the new location. You could make a document fragment, call append child on the fragment, then let the js gc collect it:
var group = parseXML( '<g xmlns="http://www.w3.org/2000/svg" display="none" />', svgDocument ).firstChild; group.appendChild( childToDelete ); group = null; after that, the javascript garbage collector should collect it when it feels like it. If this solves your problem let me know, I'm curious! Ryan On Wed, 02 Feb 2005 09:54:40 -0000, slavaraitsin <[EMAIL PROTECTED]> wrote: > > > > Try using the internal the ASV javascript engine as it is based on > mozilla's > > js...It will be interesting to hear if there is any improvement. > > > > http://wiki.svg.org/index.php/AsvJavaScriptEngine > > I did it testing on IE ASV engine works (removeChild) even sligtly > slower than internal IE javascript engine. > > Slava > > > ----- > To unsubscribe send a message to: [EMAIL PROTECTED] > -or- > visit http://groups.yahoo.com/group/svg-developers and click "edit my > membership" > ---- > Yahoo! Groups Links > > > > > ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/