New issue
Advanced search Search tips

Issue 678114 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Closed: Feb 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

Decode cache's Unref methods should act on vectors of things.

Project Member Reported by vmp...@chromium.org, Jan 3 2017

Issue description

Right one, unref takes a single item to unref. There are cases (pre-decode images) where we end up calling this function several times in a loop. Since each of those needs to acquire a lock, we should either change Unref to take a vector of images or add a second function that can take a vector of images.
 
Status: WontFix (was: Assigned)
I've done some profiling and this doesn't seem worth it. I can get a couple of percent savings, but at the cost of more vectors and more complicated code.

Sign in to add a comment