Closed Bug 1371954 Opened 2 years ago Closed 2 years ago

gfxPlatformFontList::RemoveCmap does unnecessary hashtable lookups

Categories

(Core :: Graphics: Text, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla56
Tracking Status
firefox56 --- fixed

People

(Reporter: mats, Assigned: mats)

Details

(Keywords: perf)

Attachments

(1 file)

No description provided.
Attachment #8876428 - Flags: review?(nfroyd) → review+
Pushed by mpalmgren@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/90196c3d5f9d
Use RemoveEntry(EntryType*) rather than RemoveEntry(KeyType) to avoid an unnecesary hashtable lookup.  r=froydnj
https://hg.mozilla.org/mozilla-central/rev/90196c3d5f9d
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in before you can comment on or make changes to this bug.