logoalt Hacker News

aidenn0today at 6:39 AM1 replyview on HN

Random access is completely possible within a zip, to the degree that it's needed for cbz; you might not be able to randomly access within a file, if for some reason the cbz was stored with deflate on a jpeg, but you can always access individual files independently of each other, so seeking to a random page is O(1).


Replies

formerly_proventoday at 8:10 AM

ZIP literally has a central directory.

I don’t understand what’s the point of any of this over a minimal subset of PDF (one image per page).