
Originally Posted by
Shelwien
I guess this builds a suffix tree and transmits it to the decoder, then compresses with a static model. It is hard to tell with no documentation and very few comments (in Russian). Anyway neither .exe works in Vista:
Code:
C:\tmp>CM-nt-watcom.exe
The instruction at 0x0006fe84 referenced memory at 0x0081cab0.
The memory could not be written.
C:\tmp>CM-dos4g.exe
Stub exec failed:
dos4gw.exe
No such file or directory
So I tried compiling in g++. I had to remove flushall() from main(). Dunno if I broke something. I told it to use 12 MB memory for the tree, a block size of 4 MB, and order 3. If you don't give it enough memory for the tree then it fails.
Code:
C:\tmp>cm -m12000000 -t4000000 -o3 a x calgary.tar
Order 3, count 10, encode on
Parse Text: 3152896 chars, 169701 contexts, 341759 nodes, 11586780 memory
Cutoff Tree: 11333 contexts, 43253 nodes, 1182384 memory
Encode Tree: 1(0) 1(1); 0i+256c=256; 81560 bytes
Encode Text: 3441071 codes, 77735 empty codes, 315975 null hints;
288175 escapes, 255682 first escapes, 1053908 bytes
C:\tmp>cm x x x1
Order 3, count 10, encode on
Assertion failed: size<=maxsize, file cm.cpp, line 2147
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
So anyway I tried some other variations, and gave up.