View Single Post
Old 06-18-2015, 08:01 AM   #83
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by chrisridd View Post
That's true, but I don't recall if you can read a zip file from start to finish like that. I think you have to begin from the end of the file and work backwards. But you might be right and this is a sanity check of the mimetype file.
Yes, as it is the first file, the contents will be a bare string immediately after the zip header and easy to check.

Quote:
Getting timestamps in the strace output would be useful. I can't see where the time's spent apart from in the OPF scanning (55ms). It looks a bit like the TOC stuff which is ironic if it isn't used any more.
The ToC is used. It is what you see when you open the ToC in the book.

Last edited by davidfor; 06-18-2015 at 08:03 AM. Reason: Fixed the quoting.
davidfor is offline   Reply With Quote