Closed
Bug 586381
Opened 16 years ago
Closed 16 years ago
Switch attribute atom storage to nsTArray
Categories
(Core :: DOM: Core & HTML, defect, P1)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla2.0b4
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
(Blocks 1 open bug)
Details
(Keywords: perf)
Attachments
(1 file)
|
11.90 KB,
patch
|
sicking
:
review+
benjamin
:
approval2.0+
|
Details | Diff | Splinter Review |
The inlined indexOf speeds up Contains() some; on a test that basically stresses class selector matching locally I get a 20% speedup.
| Assignee | ||
Updated•16 years ago
|
Whiteboard: [needs review]
| Assignee | ||
Comment 1•16 years ago
|
||
Attachment #464899 -
Flags: review?(jonas)
| Assignee | ||
Updated•16 years ago
|
Whiteboard: [needs review] → [need review]
Comment on attachment 464899 [details] [diff] [review]
Like so
I'm not a huge fan of the typedef as it reduces readability since I bet I'll have to go find the typedef anytime you see it.
r=me either way though.
Attachment #464899 -
Flags: review?(jonas) → review+
| Assignee | ||
Comment 3•16 years ago
|
||
Huh. I thought it saved a whole bunch of typing and improved readability, myself...
| Assignee | ||
Comment 4•16 years ago
|
||
Comment on attachment 464899 [details] [diff] [review]
Like so
Requesting approval. Very safe performance improvement.
Attachment #464899 -
Flags: approval2.0?
| Assignee | ||
Updated•16 years ago
|
Whiteboard: [need review] → [need approval]
Updated•16 years ago
|
Attachment #464899 -
Flags: approval2.0? → approval2.0+
| Assignee | ||
Updated•16 years ago
|
Whiteboard: [need approval] → [need landing]
| Assignee | ||
Comment 5•16 years ago
|
||
Status: NEW → RESOLVED
Closed: 16 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Whiteboard: [need landing]
Target Milestone: --- → mozilla2.0b4
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•