Performance fix : big compression speed boost for clang (+30%)

This commit is contained in:
Yann Collet 2015-05-21 01:17:56 +01:00
parent 0fb0392da7
commit 91c1b9a682
3 changed files with 3 additions and 2 deletions

View File

@ -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
NEWS
View File

@ -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()

View File

@ -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,