juninho12 / freearc

Automatically exported from code.google.com/p/freearc
1 stars 0 forks source link

Adjustment of PPMd dictionary size #255

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
As the summary (almost) says, automatic adjustment of the PPMd dictionary size 
may be a good thing. As a 384MB dictionary for a 2 MB file is a waste, as it'll 
only 'require' more memory to (de)compress. [/why]

I don't know the precise values, but I'm know that you know a lot more about it 
than I do. Usually the optimal results show up when dictionary size is 
(filesize*3), or 2 [/whatdoyouwant]

If the 'optimal' size is bigger than 384 MB, but under -ld value, use 'optimal' 
size.
If no -ld value specified, use a limit of 384 MB. If 'optimal' size is higher 
than -ld, use -ld. [/obvious]

Cheers, I did notice that there's a slight hint of awareness about this 
already; but decided that it should get it's own 'issue'.

Original issue reported on code.google.com by ST....@hotmail.com on 15 Dec 2010 at 7:14