Closed Bug 1435702 Opened 3 years ago Closed 3 years ago

specialize copying nsTHashtable elements where possible

Categories

(Core :: XPCOM, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla60
Tracking Status
firefox60 --- fixed

People

(Reporter: froydnj, Assigned: froydnj)

Details

Attachments

(1 file)

This saves us a function call to memcpy when the compiler inlines the
memcpy, which is pretty common.
This is a micro-optimization, to be sure, but a useful one.
Attachment #8948364 - Flags: review?(nika)
Attachment #8948364 - Flags: review?(nika) → review+
Pushed by nfroyd@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/cb8887cd0be0
specialize copying nsTHashtable elements where possible; r=mystor
https://hg.mozilla.org/mozilla-central/rev/cb8887cd0be0
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
You need to log in before you can comment on or make changes to this bug.