diff options
author | Yann Collet <yann.collet.73@gmail.com> | 2015-05-21 00:17:56 (GMT) |
---|---|---|
committer | Yann Collet <yann.collet.73@gmail.com> | 2015-05-21 00:17:56 (GMT) |
commit | 91c1b9a682a8b4d6e9b5eb47194890c14480116d (patch) | |
tree | 43ed6a6aa6a6afd13d5d8819eabc30bf94e56d6e | |
parent | 0fb0392da72ce14eb49243569248907fbfe04ee7 (diff) | |
download | lz4-91c1b9a682a8b4d6e9b5eb47194890c14480116d.zip lz4-91c1b9a682a8b4d6e9b5eb47194890c14480116d.tar.gz lz4-91c1b9a682a8b4d6e9b5eb47194890c14480116d.tar.bz2 |
Performance fix : big compression speed boost for clang (+30%)
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | lib/lz4.c | 2 |
3 files changed, 3 insertions, 2 deletions
@@ -115,7 +115,7 @@ armtest: clean cd programs; $(MAKE) -e bins CC=arm-linux-gnueabi-gcc CPPFLAGS="-Werror" versionstest: clean - @cd test; $(MAKE) -e versionstest + @cd test; $(MAKE) streaming-examples: cd examples; $(MAKE) -e test @@ -1,6 +1,7 @@ r130: Fixed : incompatibility sparse mode vs console, reported by Yongwoon Cho (#105) Fixed : LZ4IO exits too early when frame crc not present, reported by Yongwoon Cho (#106) +Performance fix : big compression speed boost for clang (+30%) r129: Added : LZ4_compress_fast(), LZ4_compress_fast_continue() @@ -432,7 +432,7 @@ static const BYTE* LZ4_getPosition(const BYTE* p, void* tableBase, tableType_t t return LZ4_getPositionOnHash(h, tableBase, tableType, srcBase); } -static int LZ4_compress_generic( +FORCE_INLINE int LZ4_compress_generic( void* const ctx, const char* const source, char* const dest, |