Changes between Version 6 and Version 15 of Ticket #10290
- Timestamp:
- Oct 14, 2011, 11:55:08 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10290
-
Property
Status
changed from
reopened
toopen
-
Property
Status
changed from
-
Ticket #10290 – Description
v6 v15 1 [[BR]] 1 http://ejohn.org/blog/element-traversal-api/ 2 2 3 Three years past, now all major browser are supporting element traversing api. Maybe it's time to reconsider? 4 5 In some cases, this properties can noticeable increase iterating speed -- 3 6 4 In some cases, this properties can noticeable increase iterating speed -- 5 [[BR]] 6 nextAll( ), 7 [[BR]] 8 children( ), 9 [[BR]] 10 siblings( ). 7 nextAll( http://jsperf.com/element-traversing-nextall-with-obstacles ), 11 8 12 In some cases, speed increase is less noticeable -- 13 [[BR]] 14 nextAll( ), 15 [[BR]] 16 children( ), 17 [[BR]] 18 siblings( ). 9 children( http://jsperf.com/element-traversing-children-with-obstacles ), 19 10 20 Or practically does not exits -- 21 [[BR]] 22 parents( ). 11 siblings( http://jsperf.com/element-traversing-siblings-with-obstacles ). 12 13 In some cases, speed increase is less noticeable -- 14 15 nextAll( http://jsperf.com/element-traversing-nextall ), 16 17 children( http://jsperf.com/element-traversing-children ), 18 19 siblings( http://jsperf.com/element-traversing-siblings ). 20 21 Or practically does not exits -- 22 23 parents( http://jsperf.com/element-traversing-parents-with-obstacles ).