Changes between Initial Version and Version 2 of Ticket #7067


Ignore:
Timestamp:
Feb 15, 2011, 8:44:35 AM (14 years ago)
Author:
Garry Yao
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7067

    • Property Keywords HasPatch added
    • Property Status changed from new to confirmed
    • Property Component changed from General to Performance
  • Ticket #7067 – Description

    initial v2  
    1 
    21When the getIndex method is called, the getNext will be invoked by getIndex, if an element node contains too many text nodes, the getNext method will be called too many times, that will cause a performance problem. My suggest is using childNodes property, according to my test, using childNodes is nearly two times faster than calling getNext method. Here's my code snippet:
    32
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy