Closed Bug 1374126 Opened 7 years ago Closed 7 years ago

EffectCompositor::RequestRestyle does unnecessary hashtable lookups

Categories

(Core :: DOM: Animation, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla56
Tracking Status
firefox56 --- fixed

People

(Reporter: MatsPalmgren_bugz, Assigned: MatsPalmgren_bugz)

References

Details

(Keywords: perf)

Attachments

(1 file)

Pushed by mpalmgren@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/1cea8a8c16a5
Use LookupForAdd instead of Contains+Put to avoid unnecessary hashtable lookups.  r=froydnj
Sorry, I pushed this prematurely.  It's a fairly trivial change though,
so I'll leave it in for now and address any review comments retroactively.
Attachment #8879024 - Flags: review?(nfroyd) → review+
https://hg.mozilla.org/mozilla-central/rev/1cea8a8c16a5
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: