Speed up nodeName and localName bindings

RESOLVED FIXED in mozilla27

Status

()

defect
RESOLVED FIXED
6 years ago
5 months ago

People

(Reporter: bzbarsky, Assigned: bzbarsky)

Tracking

unspecified
mozilla27
x86
macOS
Points:
---
Bug Flags:
in-testsuite -

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

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.