Changes between Initial Version and Version 1 of Ticket #14591, comment 12


Ignore:
Timestamp:
Jan 29, 2012, 6:24:32 AM (7 years ago)
Author:
bill
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14591, comment 12

    initial v1  
    2020As expected, the scan time for when the page has just a few widgets (or no widgets) is improved, but the top-down scan outperforms query() or getElementsByTagName("*") when it can skip 90% of the DOM tree thanks to the stopParser flag.
    2121
    22 Your _hasSpecialAttr flag is a nice trick to avoid overhead for the common case when there are no dir/lang/textdir parameters, and could possibly be to improve my patch. 
     22Your _hasSpecialAttr flag is a nice trick to avoid overhead for the common case when there are no dir/lang/textdir parameters, and could possibly be used to improve my patch.