Closed Bug 1362880 Opened 4 years ago Closed 4 years ago
Reserve storage for 10 Row
Info objects in ns Table Row Group Frame::Calculate Row BSizes()
No description provided.
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+
I don't know how to use _alloca() with nsTArray, but 32 sounds good! :-)
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/ba4487376f2c Reserve storage for 10 RowInfo objects in nsTableRowGroupFrame::CalculateRowBSizes(); r=dbaron
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/6a753ca96dfb follow-up: Bump up the reserved size to 32
You need to log in before you can comment on or make changes to this bug.