Closed Bug 1410575 Opened 8 years ago Closed 8 years ago

avoid hash table re-lookups in LabeledEventQueue::GetEvent

Categories

(Core :: XPCOM, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla58
Tracking Status
firefox58 --- fixed

People

(Reporter: froydnj, Assigned: froydnj)

References

Details

Attachments

(1 file)

We can save the entry in the hashtable, and then re-use that entry as a starting point for removing from the hashtable, should that become necessary. This saves us having to rehash things, at a minimum.
Blocks: 1410077
Attachment #8920752 - Flags: review?(erahm) → review+
Pushed by nfroyd@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/104f484655bf avoid hash table re-lookups in LabeledEventQueue::GetEvent; r=erahm
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: