![]() |
#1 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 441
Karma: 77256
Join Date: Sep 2011
Device: none
|
Faster loading of EPUBs in viewer?
Hello,
Often I make EPUBs from scans. As I'm editing, making corrections, etc., I return to the viewer to reload the EPUB. It would be nice if it were possible to load quicker. If the file hasn't changed since last load, it is pretty quick. It would be great if first loading of EPUB or after it's been edited were as fast. I think there are ZIP libraries that can unzip to memory. Would it be possible to load first into RAM and then create the cache and do other necessary stuff as a thread so that initial load and so forth is as fast as possible? Maybe it'd be a bit of work though I think it'd greatly enhance the experience. ADE for example can read and display an EPUB in less than a second. |
![]() |
![]() |
![]() |
#2 |
You kids get off my lawn!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,220
Karma: 73492664
Join Date: Aug 2007
Location: Columbus, Ohio
Device: Oasis 2 and Libra H2O and half a dozen older models I can't let go of
|
Which version of Calibre are you using? The speed of opening the viewer has improved since 4.0.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It's not going to be faster than it is in 4.3, why are you reloading the book in the viewer anyway? the editor has a perfectly good preview panel precisely so you dont have to reload the book to see how your changes look.
|
![]() |
![]() |
![]() |
#4 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,048
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Preview PANE
I don't ever remember seeing a VISUAL difference. The Viewer allows USER modification, which is NOT desirable during initial formatting (Just the codes way). |
![]() |
![]() |
![]() |
#5 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 441
Karma: 77256
Join Date: Sep 2011
Device: none
|
Perhaps you mean there is little interest in trying to make it faster. Potentially I'm not sure what is as fast as possible. Maybe reading the EPUB into RAM with an appropriate ZIP library, parsing as little as possible first to display a page, whether first or last read, and everything else do in the background while perhaps having some UI elements not enabled until ready. The measurement and I think ideal goal of (impossible) possible load speed is like that of text documents or PDFs, instant.
Quote:
To make such work as efficient as possible, if I want to make a change, I highlight some text then press one key to run an AppleScript to search and highlight the text in an editor that supports AppleScript. After the change, another key switches back to the viewer and reloads the EPUB. Maybe something faster is possible; I will try to reduce any mouse movements and keystrokes to as minimum as possible. There are other cases when I'm not necessarily working on the EPUB itself; I may be just reading and notice some typo. Quickest way is to again run some AppleScript to globally search the file for such text. Not everyone is going to always be in the editor or using the calibre editor. Having the app as refined as possible, with this as an example, would be nice. It seems possible; perhaps you will keep it in mind and maybe someday decide to make such changes. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
But maybe your argument will persuade him to try once more or possibly divine inspiration may guide his hand. You never know. ![]() Last edited by DoctorOhh; 11-16-2019 at 08:50 AM. |
|
![]() |
![]() |
![]() |
#7 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 441
Karma: 77256
Join Date: Sep 2011
Device: none
|
Maybe most tend to not often modify their books, and as such don’t mind the creation of cache and so forth that happens only once per book. For me, with commercial EPUBs too I often fix formatting and typos not necessarily all at once in an editor, but whenever I find them as I read. An example, one I haven’t looked at in a while but am getting back to, a work not well proofed and not well made, hundreds of unique typos, many in transliterated Sanskrit. Finding them is constant, and each time a reload recreates the cache and takes 8+ seconds due to images. Not fun.
![]() |
![]() |
![]() |
![]() |
#8 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 281
Karma: 7724454
Join Date: Sep 2017
Location: Bethesda, MD, USA
Device: Kobo Aura H20, Kobo Clara HD
|
Lots of authoring flows don't use a GUI editor. Many of my ebooks are dynamically built from database sources and templates, and not edited directly in ebook-edit or Sigil or the like; after rebuilding the book, it's opened in various viewers to proof the new changes. The speed improvements you made in 4.3 were hugely useful for this kind of flow!
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sony T2 loading epubs directly | injapan | Sony Reader | 6 | 12-14-2013 07:43 PM |
scrolling in pdf and a faster image viewer | bilgisiz | Kindle Developer's Corner | 2 | 09-18-2011 10:18 AM |
Problem with freezing after loading ePubs | magikmama78 | Kobo Reader | 4 | 06-17-2011 12:13 PM |
DR800 Convert PDF to JPG for faster loading speed? | bokjeid | iRex | 1 | 07-24-2010 09:32 AM |
ePubs from BooksonBoard not d'loading on Mac? | troutqueen | ePub | 7 | 08-16-2009 05:49 PM |