]> icculus.org git repositories - icculus/xz.git/commit
Revised the fastpos code. It now uses the slightly faster
authorLasse Collin <lasse.collin@tukaani.org>
Tue, 15 Jan 2008 12:02:22 +0000 (14:02 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Tue, 15 Jan 2008 12:02:22 +0000 (14:02 +0200)
commite5728142a2048979f5c0c2149ce71ae952a092e1
tree7ea154a3a970afecf25b5de654d9c915e9c0c84d
parent10437b5b567f6a025ff16c45a572e417a0a9cc26
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.
src/liblzma/common/init_encoder.c
src/liblzma/lzma/Makefile.am
src/liblzma/lzma/fastpos.h [new file with mode: 0644]
src/liblzma/lzma/fastpos_table.c [new file with mode: 0644]
src/liblzma/lzma/fastpos_tablegen.c [new file with mode: 0644]
src/liblzma/lzma/lzma_common.h
src/liblzma/lzma/lzma_encoder.c
src/liblzma/lzma/lzma_encoder_getoptimum.c
src/liblzma/lzma/lzma_encoder_init.c
src/liblzma/lzma/lzma_encoder_private.h