The same treatment as bug 558516 for getAttribute. Looks like a 30% or so win over here.
Created attachment 663420 [details] [diff] [review] Speed up hasAttribute string munging of the attr name.
Attachment #663420 - Flags: review?(jonas)
OS: Mac OS X → All
Hardware: x86 → All
Version: unspecified → Trunk
Attachment #663420 - Flags: review?(jonas) → review+
Whiteboard: [need review]
Target Milestone: --- → mozilla18
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.