From: Yann Collet Date: Sat, 19 Mar 2016 13:47:31 +0000 (+0100) Subject: minor performance fix (decompression) X-Git-Tag: v0.6.0^2~17^2~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90a03a95a1a20ce8b8cf4c5036a6869678ff0515;p=thirdparty%2Fzstd.git minor performance fix (decompression) --- diff --git a/lib/zstd_decompress.c b/lib/zstd_decompress.c index 35404417e..6b9b12972 100644 --- a/lib/zstd_decompress.c +++ b/lib/zstd_decompress.c @@ -506,7 +506,7 @@ size_t ZSTD_decodeLiteralsBlock(ZSTD_DCtx* dctx, @return : nb bytes read from src, or an error code if it fails, testable with ZSTD_isError() */ -static size_t ZSTD_buildSeqTable(FSE_DTable* DTable, U32 type, U32 rawBits, U32 maxLog, +FORCE_INLINE size_t ZSTD_buildSeqTable(FSE_DTable* DTable, U32 type, U32 rawBits, U32 maxLog, const void* src, size_t srcSize) { U32 max = (1< maxLog) return ERROR(corruption_detected); FSE_buildDTable(DTable, norm, max, tableLog); return headerSize;