Open
Bug 1185137
Opened 9 years ago
Updated 3 years ago
Eliminate unnecessary surface lookups in SurfaceCacheImpl::Insert
Categories
(Core :: Graphics: ImageLib, task, P5)
Core
Graphics: ImageLib
Tracking
()
NEW
People
(Reporter: seth, Unassigned)
References
Details
Bug 1176124 introduced some unnecessary surface lookups in SurfaceCacheImpl::Insert(), because Insert() calls Lookup() to check if there's an existing surface or placeholder, but if there *is* a placeholder, we remove it with Remove(), which needs to do a second lookup. That's because Insert() and Remove() are implementations of the public API.
We need a private API that can do the lookup and the removal of the placeholder, if needed, in a single pass.
Comment 3•3 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months.
:aosmond, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee: seth.bugzilla → nobody
Flags: needinfo?(aosmond)
Updated•3 years ago
|
Severity: normal → S4
Flags: needinfo?(aosmond)
Priority: -- → P5
You need to log in
before you can comment on or make changes to this bug.
Description
•