4 - RCBZ: The Per-Page Comic Container
Comics turned out to be a different problem from books, and I nearly got it wrong by assuming they were the same problem.
The instinct is to reach for the container you already built. That instinct is wrong here, and the post spends a while on why: the unit you index by is a design decision, not an implementation detail, and picking the wrong one costs you several reads and several inflates for every single page turn. There is also a nice security result at the end – the device ends up never running an image decoder at all.
Read more โ