aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2018-04-21fixed incorrect commentCyan4973
2018-04-20fixed clang performance in lz4_fastYann Collet
The simple change from `matchIndex+MAX_DISTANCE < current` towards `current - matchIndex > MAX_DISTANCE` is enough to generate a 10% performance drop under clang. Quite massive. (I missed as my eyes were concentrated on gcc performance at that time). The second version is more robust, because it also survives a situation where `matchIndex > current` due to overflows. The first version requires matchIndex to not overflow. Hence were added `assert()` conditions. The only case where this can happen is with dictCtx compression, in the case where the dictionary context is not initialized before loading the dictionary. So it's enough to always initialize the context while loading the dictionary.
2018-04-20Change vLimit CalculationW. Felix Handte
2018-04-20Remove Redundant Static AssertW. Felix Handte
2018-04-20Simpler loadDict() ResetW. Felix Handte
2018-04-20Tolerate Base Pointer UnderflowW. Felix Handte
2018-04-20Don't Segfault on Malloc FailureW. Felix Handte
2018-04-20Sign-Extend -1 to Pointer WidthW. Felix Handte
2018-04-20Fix Constant ValueW. Felix Handte
2018-04-20Handle Index Underflows SafelyW. Felix Handte
2018-04-20Consts and Asserts and Other Minor NitsW. Felix Handte
2018-04-20Add Comments on New Public APIsW. Felix Handte
2018-04-20Add API for Attaching DictionariesW. Felix Handte
2018-04-20Also Reset the Chain TableW. Felix Handte
2018-04-20Remove inputBuffer from Context, Work Around its AbsenceW. Felix Handte
2018-04-20Remove Commented Out Support for Match Continuation over Segment BoundaryW. Felix Handte
2018-04-19Fix Signedness of ComparisonW. Felix Handte
2018-04-19Don't Clear the Dictionary Context Until No Longer UsefulW. Felix Handte
2018-04-19Copy DictCtx into Working Context on Inputs Larger than 4 KBW. Felix Handte
2018-04-19Force Inline on HashChainW. Felix Handte
2018-04-19Split DictCtx-using Code Into Separate Inlining ChainW. Felix Handte
2018-04-19Use Fast Reset in LZ4F AgainW. Felix Handte
2018-04-19Use Fast Reset API in LZ4FW. Felix Handte
2018-04-19Add Fast Reset PathsW. Felix Handte
2018-04-19Remove Match Upper Bounds CheckW. Felix Handte
2018-04-19Fix Some Cast/Conversion WarningsW. Felix Handte
2018-04-19Fix Offset MathW. Felix Handte
2018-04-19Reset Stream in LZ4_compress_HCW. Felix Handte
2018-04-19Don't Bother Clearing Chain Table for Working ContextsW. Felix Handte
2018-04-19Push Previous Compression Offsets into the PastW. Felix Handte
2018-04-19Shift Dict Limit Checks out of the LoopW. Felix Handte
2018-04-19Clear Tables on Dict LoadW. Felix Handte
2018-04-19Only Perform Dict Lookup if Attempts RemainW. Felix Handte
2018-04-19Avoid Resetting Chain TableW. Felix Handte
2018-04-19Avoid Resetting Hash TableW. Felix Handte
2018-04-19Perform Lookups into the Dictionary ContextW. Felix Handte
2018-04-19Call LZ4F_applyCDict Even on NULL CDictW. Felix Handte
2018-04-19Set dictCtx Rather than memcpy'ing CtxW. Felix Handte
2018-04-19Fully Bounds Check Hash Table ReadsW. Felix Handte
2018-04-19Add a Dictionary Context Pointer to the HC ContextW. Felix Handte
2018-04-19Add Debug Log Statements to HCW. Felix Handte
2018-04-19Merge pull request #503 from lz4/l120Yann Collet
minor length reduction of several large lines
2018-04-19Merge pull request #502 from lhacc1/devYann Collet
Wrap likely/unlikely macroses with #ifndef
2018-04-19modified indentation for consistencyYann Collet
2018-04-19lib: allow to disable shared librariesBaruch Siach
Just like BUILD_STATIC=no disables static libraries, BUILD_SHARED=no disabled shared libraries. This is useful to support toolchains that do not support shared libraries.
2018-04-18minor length reduction of several large linesYann Collet
2018-04-18Wrap likely/unlikely macroses with #ifndefDmitrii Rodionov
It prevent redefine error when project using lz4 has its own likely/unlikely macroses.
2018-04-17fixed LZ4_compress_fast_extState_fastReset() in 32-bit modeYann Collet
2018-04-17fix dictDelta setting errorYann Collet
wrong test
2018-04-17fix matchIndex overflowYann Collet
can happen with dictCtx