Closed
Bug 883011
Opened 11 years ago
Closed 11 years ago
Optimize PrepareUpdatesToMainThread to avoid re-allocating memory as much as possible
Categories
(Core :: Web Audio, defect)
Tracking
()
RESOLVED
FIXED
mozilla24
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
Attachments
(1 file)
1.76 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
See bug 882543 comment 7.
Updated•11 years ago
|
Assignee: nobody → paul
Assignee | ||
Comment 1•11 years ago
|
||
Clang can't properly inline the EnsureCapacity call inside MoveElementsFrom. But the mPendingUpdateRunnables array is always empty for Web Audio, so this optimization makes sense.
Attachment #764518 -
Flags: review?(roc) → review+
Assignee | ||
Comment 2•11 years ago
|
||
Comment 3•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in
before you can comment on or make changes to this bug.
Description
•