Closed
Bug 1362880
Opened 9 years ago
Closed 9 years ago
Reserve storage for 10 RowInfo objects in nsTableRowGroupFrame::CalculateRowBSizes()
Categories
(Core :: Layout: Tables, enhancement)
Core
Layout: Tables
Tracking
()
RESOLVED
FIXED
mozilla55
| Tracking | Status | |
|---|---|---|
| firefox55 | --- | fixed |
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
Details
Attachments
(1 file)
|
1.07 KB,
patch
|
dbaron
:
review+
|
Details | Diff | Splinter Review |
No description provided.
| Assignee | ||
Comment 1•9 years ago
|
||
I noticed this when profiling bug 1357621.
Attachment #8865245 -
Flags: review?(dbaron)
| Assignee | ||
Updated•9 years ago
|
Assignee: nobody → ehsan
Comment on attachment 8865245 [details] [diff] [review]
Reserve storage for 10 RowInfo objects in nsTableRowGroupFrame::CalculateRowBSizes()
r=dbaron (although I'd suggest increasing to 16 or 32, perhaps?)
I wish we had a way to do this with alloca(), though (conditional on numRows < 128 or similar)
Attachment #8865245 -
Flags: review?(dbaron) → review+
Component: Layout → Layout: Tables
| Assignee | ||
Comment 3•9 years ago
|
||
I don't know how to use _alloca() with nsTArray, but 32 sounds good! :-)
Pushed by eakhgari@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ba4487376f2c
Reserve storage for 10 RowInfo objects in nsTableRowGroupFrame::CalculateRowBSizes(); r=dbaron
Pushed by eakhgari@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/6a753ca96dfb
follow-up: Bump up the reserved size to 32
Comment 6•9 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/ba4487376f2c
https://hg.mozilla.org/mozilla-central/rev/6a753ca96dfb
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•