Closed Bug 925495 Opened 8 years ago Closed 8 years ago

Speed up nodeName and localName bindings

Categories

(Core :: DOM: Core & HTML, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla27

People

(Reporter: bzbarsky, Assigned: bzbarsky)

Details

Attachments

(2 files)

We can use DOMString for these, which should help a lot in the cache-hit case.
Let me know if you'd prefer that I try to preserve blame via hg cp here
Attachment #815692 - Flags: review?(bugs)
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Whiteboard: [need review]
Attachment #815692 - Flags: review?(bugs) → review+
Attachment #815693 - Flags: review?(bugs) → review+
Gah.  Sounds like localName is nullable, and hence might not have a stringbuffer.  Need to check for the null case.
Depends on: 926305
No longer depends on: 926305
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.