diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-15 14:02:22 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-15 14:02:22 +0200 |
commit | e5728142a2048979f5c0c2149ce71ae952a092e1 (patch) | |
tree | 7ea154a3a970afecf25b5de654d9c915e9c0c84d /src/liblzma/lzma/lzma_encoder.c | |
parent | Added bsr.h. (diff) | |
download | xz-e5728142a2048979f5c0c2149ce71ae952a092e1.tar.xz |
Revised the fastpos code. It now uses the slightly faster
table-based version from LZMA SDK 4.57. This should be
fast on most systems.
A simpler and smaller alternative version is also provided.
On some CPUs this can be even a little faster than the
default table-based version (see comments in fastpos.h),
but on most systems the table-based code is faster.
Diffstat (limited to 'src/liblzma/lzma/lzma_encoder.c')
-rw-r--r-- | src/liblzma/lzma/lzma_encoder.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liblzma/lzma/lzma_encoder.c b/src/liblzma/lzma/lzma_encoder.c index 5c80a2f8..8a5b0142 100644 --- a/src/liblzma/lzma/lzma_encoder.c +++ b/src/liblzma/lzma/lzma_encoder.c @@ -23,6 +23,7 @@ #include "lzma_encoder_private.h" +#include "fastpos.h" //////////// |