Comment 29 for bug 111299

Revision history for this message
In , Vladimir Vukicevic (vvuk) wrote :

If we really wanted to overengineer this, we would time how long the first decode takes (just the decode, so time spent while calling libpng/jpeg/etc), and then use that as input in when to evict that image, along with the amount of memory taken up by the decoded image. But that's probably a future addon patch.