![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Nov 2014
Device: Kindle DX
|
Huffdic compression
Hi,
Is there any library or something else help me compress faster with Huffdic compression? I see KindleUnpack can decompress huffdic compression so fast, then any chance to compress it fast too? Regards. |
![]() |
![]() |
![]() |
#2 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
You only need to compress it once, how much extra speed do you need?
![]() |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,760
Karma: 5706256
Join Date: Nov 2009
Device: many
|
Hi,
The reason that compression is so much slower that decompression, is that multiple passes over the entire text is required to create the "dictionaries" of common substrings needed for huffdic compression to work well. When decompressing, these dictionaries are given to you, so decompression can be done is just one pass. Sorry, KevinH |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
.mobi compression? | jpcapili | Calibre | 3 | 12-05-2011 09:44 PM |
Does anyone know the Mobipocket compression? | slayda | Kindle Formats | 8 | 03-29-2010 11:38 PM |
Cover Image Compression. | Ichi | Calibre | 3 | 01-04-2010 06:38 AM |
MOBI Output Compression? | sirbruce | Calibre | 6 | 06-14-2009 07:10 PM |
ePub compression | gonzule | ePub | 3 | 10-25-2008 03:35 PM |