Closed
Bug 1376297
Opened 7 years ago
Closed 7 years ago
ImageBridgeChild does unnecessary hashtable lookups
Categories
(Core :: Graphics: Layers, enhancement, P3)
Core
Graphics: Layers
Tracking
()
RESOLVED
FIXED
mozilla56
Tracking | Status | |
---|---|---|
firefox56 | --- | fixed |
People
(Reporter: MatsPalmgren_bugz, Assigned: MatsPalmgren_bugz)
References
Details
(Keywords: perf)
Attachments
(2 files)
1.73 KB,
patch
|
froydnj
:
review+
|
Details | Diff | Splinter Review |
1.60 KB,
patch
|
froydnj
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•7 years ago
|
||
Attachment #8881254 -
Flags: review?(nfroyd)
Assignee | ||
Comment 2•7 years ago
|
||
Attachment #8881255 -
Flags: review?(nfroyd)
Updated•7 years ago
|
Attachment #8881254 -
Flags: review?(nfroyd) → review+
Comment 3•7 years ago
|
||
Comment on attachment 8881255 [details] [diff] [review] part 2 - Switch to nsRefPtrHashtable since it's more appropriate for holding RefPtr values Review of attachment 8881255 [details] [diff] [review]: ----------------------------------------------------------------- I feel like I am reviewing the exact same code here that I reviewed in CompositorBridgeChild...
Attachment #8881255 -
Flags: review?(nfroyd) → review+
Pushed by mpalmgren@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/92f807c93f8d part 1 - Use Lookup instead of Get+Remove, and remove a useless Get before Remove, to avoid unnecessary hashtable lookups. r=froydnj https://hg.mozilla.org/integration/mozilla-inbound/rev/b03666e4837e part 2 - Switch to nsRefPtrHashtable since it's more appropriate for holding RefPtr values. r=froydnj
Comment 5•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/92f807c93f8d https://hg.mozilla.org/mozilla-central/rev/b03666e4837e
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
•