Closed
Bug 1377135
Opened 7 years ago
Closed 7 years ago
nsRefreshDriver::AddImageRequest does unnecessary hashtable lookups
Categories
(Core :: Layout, enhancement, P3)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla56
Tracking | Status | |
---|---|---|
firefox56 | --- | fixed |
People
(Reporter: MatsPalmgren_bugz, Assigned: MatsPalmgren_bugz)
Details
(Keywords: perf)
Attachments
(1 file)
1.13 KB,
patch
|
froydnj
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•7 years ago
|
||
(also removing an unnecessary null-check from the infallible PutEntry in the then-branch)
Attachment #8882181 -
Flags: review?(nfroyd)
Updated•7 years ago
|
Attachment #8882181 -
Flags: review?(nfroyd) → review+
Assignee | ||
Comment 2•7 years ago
|
||
I see I mistakenly added a "[delay]" capture there which I don't use. I'll remove that before landing...
Pushed by mpalmgren@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/ccd25299f03f Use LookupForAdd instead of Get+Put to avoid unnecessary hashtable lookups in nsRefreshDriver::AddImageRequest. r=froydnj
Comment 4•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ccd25299f03f
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in
before you can comment on or make changes to this bug.
Description
•