mirror of
https://github.com/facebook/zstd.git
synced 2025-12-15 00:04:04 -05:00
Force-Inline ZSTD_insertAndFindFirstIndex_internal()
Without this, gcc was declining to inline the function in `ZSTD_noDict` mode, resulting in a ~10% slowdown.
This commit is contained in:
parent
cab86b074f
commit
f49c1563ff
@ -447,7 +447,7 @@ static size_t ZSTD_BtFindBestMatch_extDict_selectMLS (
|
||||
|
||||
/* Update chains up to ip (excluded)
|
||||
Assumption : always within prefix (i.e. not within extDict) */
|
||||
static U32 ZSTD_insertAndFindFirstIndex_internal(
|
||||
FORCE_INLINE_TEMPLATE U32 ZSTD_insertAndFindFirstIndex_internal(
|
||||
ZSTD_matchState_t* ms,
|
||||
const ZSTD_compressionParameters* const cParams,
|
||||
const BYTE* ip, U32 const mls)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user