Changes between Initial Version and Version 2 of Ticket #7067
- Timestamp:
- Feb 15, 2011, 8:44:35 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7067
- Property Keywords HasPatch added
-
Property
Status
changed from
new
toconfirmed
-
Property
Component
changed from
General
toPerformance
-
Ticket #7067 – Description
initial v2 1 2 1 When 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: 3 2