Closed Bug 1376477 Opened 3 years ago Closed 3 years ago

nsProperties::Undefine does unnecessary hashtable lookups

Categories

(Core :: XPCOM, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla56
Tracking Status
firefox56 --- fixed

People

(Reporter: mats, Assigned: mats)

References

Details

(Keywords: perf)

Attachments

(1 file)

No description provided.
Attachment #8881425 - Flags: review?(nfroyd) → review+
Pushed by mpalmgren@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/06832382e618
Use Lookup instead of Get+Remove to avoid unnecessary hashtable lookups.  Replace Get with Contains to avoid ref-counting.  r=froydnj
https://hg.mozilla.org/mozilla-central/rev/06832382e618
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in before you can comment on or make changes to this bug.