Closed Bug 1039887 Opened 10 years ago Closed 10 years ago

Avoid unnecessary deletes in DOMRequestHelper.jsm

Categories

(Core :: DOM: Device Interfaces, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla33

People

(Reporter: n.nethercote, Assigned: n.nethercote)

Details

(Whiteboard: [MemShrink])

Attachments

(1 file)

This patch will avoid some unnecessary shape creation.
They're unnecessary because the entire object is later nulled out.

This in turn avoids creating 3,108 shapes when starting up B2G, which is about
73 KiB's worth.
Attachment #8457708 - Flags: review?(fabrice)
Attachment #8457708 - Flags: review?(fabrice) → review+
https://hg.mozilla.org/mozilla-central/rev/8e7a378c70c5
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: