View Single Post
Old 04-24-2018, 02:15 AM   #23
Sarmat89
Evangelist
Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.
 
Posts: 482
Karma: 2267928
Join Date: Nov 2015
Device: none
Quote:
Originally Posted by BobC View Post
If you have ever played with a monolithic format such as FB2 where the book is just one long file you would understand why large files are a problem
If you use an event-based parser, you don't need excessive memory. All you need is to scan the file once, and build the lookup table. Formats actually optimized for portative devices, like MOBI or PDB, have those tables pre-built.
The actual reason EPUB needs segmentation, is a bad container format which doesn't allow random access, and the atrociously complex HTML+CSS+JS content format, which needs a DOM tree created just to make heads and tails of it.
Sarmat89 is offline   Reply With Quote