Side navigation
#7964 closed enhancement (fixed)
Opened January 13, 2011 09:03PM UTC
Closed January 14, 2011 04:23PM UTC
Some traversal methods perform an unnecessary uniqueness check
Reported by: | scottgonzalez | Owned by: | scott_gonzalez |
---|---|---|---|
Priority: | low | Milestone: | 1.5 |
Component: | traversing | Version: | 1.4.4 |
Keywords: | Cc: | jeresig | |
Blocked by: | Blocking: |
Description
Methods like .children(), .next() and .prev() are guaranteed to produce a unique result when called on a unique set. These methods are generated by a function which always checks for uniqueness if the original set contained more than one element. Methods that are guaranteed to produce a unique result should not go through the uniqueness check as this is fairly expensive in some browsers.
Attachments (0)
Change History (2)
Changed January 13, 2011 09:10PM UTC by comment:1
cc: | → jeresig |
---|---|
owner: | → scott_gonzalez |
priority: | undecided → low |
status: | new → assigned |
Changed January 14, 2011 04:23PM UTC by comment:2
component: | unfiled → traversing |
---|---|
milestone: | 1.next → 1.5 |
resolution: | → fixed |
status: | assigned → closed |
This pull request was landed: