Skip to content

Commit

Permalink
updated LZMA SDK, lots of code cleanup, restructured directories
Browse files Browse the repository at this point in the history
  • Loading branch information
fancycode committed Apr 24, 2010
1 parent 17a15da commit c9f5ba9
Show file tree
Hide file tree
Showing 106 changed files with 7,201 additions and 8,488 deletions.
28 changes: 0 additions & 28 deletions doc/usage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,34 +67,6 @@ multithreading

Currently, multithreading is only available on Windows platforms.

matchfinder
Matchfinder algorithm to use. Possible values are bt2, bt3, bt4, bt4b,
pat2r, pat2, pat2h, pat3h, pat4h, hc3, hc4 (Default: bt4).

Compression ratio for all bt* and pat* almost the same. Algorithms from hc*
group don't provide good compression ratio, but they often work pretty fast
in combination with fast mode (algorithm=0). Methods from bt* group require
less memory than methods from pat* group. Usually bt4 works faster than
any pat*, but for some types of files pat* can work faster.

Memory requirements depend from dictionary size (parameter "d" in table below).

===== ============ =======================================================
MF_ID Memory Description
===== ============ =======================================================
bt2 d*9.5 + 1MB Binary Tree with 2 bytes hashing.
bt3 d*9.5 + 65MB Binary Tree with 2-3(full) bytes hashing.
bt4 d*9.5 + 6MB Binary Tree with 2-3-4 bytes hashing.
bt4b d*9.5 + 34MB Binary Tree with 2-3-4(big) bytes hashing.
pat2r d*26 + 1MB Patricia Tree with 2-bits nodes, removing.
pat2 d*38 + 1MB Patricia Tree with 2-bits nodes.
pat2h d*38 + 77MB Patricia Tree with 2-bits nodes, 2-3 bytes hashing.
pat3h d*62 + 85MB Patricia Tree with 3-bits nodes, 2-3 bytes hashing.
pat4h d*110 +101MB Patricia Tree with 4-bits nodes, 2-3 bytes hashing.
hc3 d*5.5 + 1MB Hash Chain with 2-3 bytes hashing.
hc4 d*5.5 + 6MB Hash Chain with 2-3-4 bytes hashing.
===== ============ =======================================================

eos
Should the `End Of Stream` marker be written? (Default yes)
You can save some bytes if the marker is omitted, but the total uncompressed
Expand Down
179 changes: 0 additions & 179 deletions pylzma_compress.cpp

This file was deleted.

157 changes: 0 additions & 157 deletions pylzma_decompress.c

This file was deleted.

Loading

0 comments on commit c9f5ba9

Please sign in to comment.