Free the whole range rather than bits
Free the whole range rather than bits
Posted Jun 21, 2014 13:52 UTC (Sat) by alonz (subscriber, #815)In reply to: Free the whole range rather than bits by niner
Parent article: The volatile volatile ranges patch set
I suspect the cost of refreshing just one page from the JPEG from the 'net will tend to be almost the same as refreshing the entire image… and refreshing two (disjoint) pages will almost certainly cost more than the entire image.
Of course, these are just my estimates; they may be wrong in the particular, but I've personally designed systems that did exhibit this behavior. An obvious example is when caching a compressed version of some resource — restarting compression from the middle is far harder than redoing it all from scratch.
