Quote:
Originally Posted by nabsltd
This is not a problem.
To put it another way, on a device with 32GB of storage, the you could hold 38,593 "bloated" books, but only 205 more if you remove the "bloat". The use of a meaningful class name far outweighs the space savings.
And, it doesn't really matter how long the class name is.
|
I mentioned this to Jon before. An epub is a zip file.
https://en.wikipedia.org/wiki/ZIP_(f...ession_methods
You can rename a whatever.epub to .zip and unzip it with your desired archive tool. If you are a only having a plain text editor and an archive tool you could even make an epub, though knowing structure of the system text files rather than just the HTML and CSS content is a challenge.
So 10,000 instances of a really long class name really is little more than one instance.
Jon: Zip uses LZW and/or deflate
Original LZW replaces matching arbitrary length data with a 12 bit code (one and a half bytes).
https://en.wikipedia.org/wiki/Lempel...%E2%80%93Welch
Deflate
https://en.wikipedia.org/wiki/Deflate
Is more computation to compress and uses some similar ideas.
There is never bloat. Having it human readable for maintaining or fixing bugs in automatic epub generation is important.