Quote:
Originally Posted by JSWolf
Quote:
Originally Posted by chrisridd
@Francois_C The zip compression used in epubs is likely to compress all those crazy_long_class_names down anyway, so I doubt you're saving space in the epub. Similarly all those slightly wordy <span class="bold"> ....things - any time you have repeated text that gets compressed really well.
You might save some RAM when the ereader has to open and uncompress the chapter though.
|
You are saving space removing those long class names.
|
I just tried an experiment removing my favoured way of managing paragraph styles (as an example, <p class="para"> for default body indented paragraphs) and replacing them with <p>. This did save some space (~ 21Kbytes) in the uncompressed file sizes reported when I opened the epub using 7Zip. OTOH, the size of the compressed epub file changed by a massive 8 bytes. As usual, ASCII text files compress rather well as the attached screen shot shows though the already compressed images are almost incompressible.
Personally, I didn't find the change enough to make changing my default stylesheet a worthwhile project.
The great tragedy of Science — the slaying of a beautiful hypothesis by an ugly fact. — Thomas Henry Huxley