Closed Bug 685404 Opened 10 years ago Closed 10 years ago
Auto TArray-ize callers to ns Display List::Hit Test
No description provided.
Comment on attachment 559040 [details] [diff] [review] fix So the idea is to allocate a reasonable amount of space at the start instead of allocating later in smaller pieces?
The idea is to have an 8-element array on the stack so we don't have to heap-allocate at all.
(which is slower and could cause fragmentation)
Attachment #559040 - Flags: review?(tnikkel) → review+
10 years ago
Could we enforce this by making the callee signatures explicitly list an nsTArray, just in case another caller gets added? And if so, do we want to?
Whiteboard: checkin-needed → [MemShrink]
We could enforce it, but it's probably not worth it.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla9
You need to log in before you can comment on or make changes to this bug.