On 3/27/07 2:49 PM, simonshutter wrote:
>> The loop is correct. FF should perform 2 to 10 times slower, 
> between 
>> 30 and 150 ms, nothing like 115682 msec. The problem is elsewhere.
> 
> I think I've identified the cause of the performance difference and 
> it is the "use" element:
> 
> <use xlink:href="#group" pointer-events="none" />
> 
> If you load the example below you can see the difference quite 
> clearly even with 100 rect elements.
> 
> I don't know if I am following the SVG std properly or if FF is doing 
> something that Op9 and ASV3 do not.

That will have poor performance in Firefox due to they way we currently 
implement <use>, which is to do an anonymous clone of the indicated 
subtree at the point of the <use>.  Any modifications to the original 
content cause us to reclone the content.  As you're setting an attribute 
on each <rect> inside the original content, we end up doing a lot of 
work that other implementations might avoid.


-----
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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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/
 

Reply via email to