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)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla24

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

References

Details

Attachments

(1 file)

Assignee: nobody → paul
Attached patch Patch (v1)Splinter Review
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.
Assignee: paul → ehsan
Status: NEW → ASSIGNED
Attachment #764518 - Flags: review?(roc)
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.

Attachment

General

Created:
Updated:
Size: