summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * | added hash chain with conditional lengthYann Collet2017-10-252-10/+2
| | | | | | | | | | | | not a success yet
| * | lz4opt: added hash chain searchYann Collet2017-10-213-24/+63
| | |
| * | switched many types to intYann Collet2017-10-201-38/+37
| | |
| * | removed SET_PRICE macroYann Collet2017-10-201-17/+14
| | |
| * | removed one macro usageYann Collet2017-10-201-4/+11
| | |
| * | minor refactorYann Collet2017-10-201-28/+35
| | | | | | | | | | | | | | | reduce variable scope remove one macro usage
| * | lz4opt: refactor sequence reverse traversalYann Collet2017-10-201-10/+20
| | |
| * | refactor variable matchnumYann Collet2017-10-201-14/+14
| | | | | | | | | | | | | | | separate initial and iterative search renamed nb_matches
| * | simplified initial cost conditionsYann Collet2017-10-201-10/+15
| | | | | | | | | | | | llen integrated in opt[]
| * | added assertYann Collet2017-10-192-1/+9
| | |
| * | renamed last_pos into last_match_posYann Collet2017-10-191-15/+15
| | |
| * | simplified early exit when single solutionYann Collet2017-10-191-5/+5
| | |
| * | fused getLongerMatch and getWiderMatchYann Collet2017-10-091-1/+1
| | |
| * | re-inserted last byte test in widerMatchYann Collet2017-10-091-19/+22
| | |
| * | early out is not betterYann Collet2017-10-092-2/+1
| | |
| * | optional fuseYann Collet2017-10-091-68/+53
| | |
| * | improved search of rep-1 patternsYann Collet2017-10-091-27/+131
| | |
| * | insertAndFindBestMatch defers to insertAndGetWiderMatchYann Collet2017-10-091-3/+13
| | |
* | | added LZ4_FORCEINLINE to counter gcc regressionYann Collet2017-11-071-1/+2
| | | | | | | | | | | | as recommended by @terrelln
* | | 2-stages LZ4_countYann Collet2017-11-061-1/+9
| | | | | | | | | | | | | | | | | | | | | separate first branch from the rest of the compare loop to get dedicated prediction. measured a 3-4% compression speed improvement.
* | | Only ignore with C++17Sylvestre Ledru2017-11-061-3/+3
| | |
* | | When building with a C++ compiler, remove the 'register' keyword to silent a ↵Sylvestre Ledru2017-11-051-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | warning For example, with clang: lz4.c:XXX:36: error: 'register' storage class specifier is deprecated and incompatible with C++17 [-Werror,-Wdeprecated-register] static unsigned LZ4_NbCommonBytes (register reg_t val) ^~~~~~~~~
* | | Merge pull request #415 from lz4/fasterDecodingXpYann Collet2017-11-011-9/+27
|\ \ \ | |_|/ |/| | Faster decoding xp
| * | minor change, to help store forwardingYann Collet2017-10-311-6/+5
| | | | | | | | | | | | in a marginal case (offset==4)
| * | extended shortcut match length to 18Yann Collet2017-10-311-5/+6
| | |
| * | minor : coding style : use ML_MASK constantYann Collet2017-10-311-2/+2
| | |
| * | added comments, as suggested by @terrellnYann Collet2017-10-311-4/+5
| | |
| * | more complete shortcut - passes testsYann Collet2017-10-301-12/+13
| | |
| * | small modification of lz4 decoder to shortcut common case (short branch).Yann Collet2017-10-251-0/+16
| | |
* | | Separated visibility from LZ4LIB_API macro.mikir2017-10-301-7/+11
|/ /
* | Use the optimization level of O2 for the decompression functions on ppc64le ↵Rei Odaira2017-10-131-1/+34
|/ | | | with gcc, to avoid harmful unrolling and SIMDization with O3
* fixed decoding block checksum in lz4frameYann Collet2017-10-041-4/+3
|
* fix #404Yann Collet2017-09-301-2/+5
| | | | | | | | | | | | | | | | static analyzer `cppcheck` complains about a shift-by-32 on a 32 bits value, which is an undefined behavior. However, the flagged code path is never triggered in 32-bits mode, (actually, it's not even generated if DCE kicks in), the shift-by-32 is necessarily performed on a 64-bits value. While it doesn't change anything regarding lz4 code generation, for both 32 and 64 bits mode, (can be checked by md5sum on the generated binary), the shift has been rewritten in a way which should please this static analyzer, since it now pretends to shift by 16 on 32-bits cpu (note : it doesn't matter since the code will not even be generated in this case). Note : this is a blind fix, the new code has not been tested with cppcheck, because cppcheck only works on Windows. Other static analyzer, such as scan-build, do not trigger this false positive.
* minor lz4frame code refactorYann Collet2017-09-231-50/+54
| | | | | try to improve code readability. minor optimization on condition to preserve history.
* Fix Segfault When Copying DictW. Felix Handte2017-09-221-0/+1
| | | | dctx must have been initialized before we can copy the dictionary in.
* fixed a bunch of -Wcomma warningsYann Collet2017-09-101-1/+5
| | | | reported by @rvandermeulen (#398)
* fix #397 : decompression failed when using a combination of extDict + low ↵Yann Collet2017-09-071-2/+1
| | | | | | | | memory address Reported and fixed by @jscheid Note : we are missing a test case to include it in the CI
* bench : made decompression speed evaluation same time as compressionYann Collet2017-09-071-17/+16
| | | | minor : slightly modified an example do avoid disabling a gcc warning through #pragma
* minor Makefile fixesYann Collet2017-09-071-1/+2
|
* updated lib/READMEYann Collet2017-09-061-28/+28
| | | | clarifications, improved wording
* complementary information for #394Yann Collet2017-08-301-8/+14
|
* clarified documentation of streaming decompression functionsYann Collet2017-08-301-9/+13
| | | | | (synchronous bufferless mode) answering questions by @jtbandes (#394)
* fixed FS-independent file order in /libYann Collet2017-08-291-2/+2
| | | | identified by @bmwiedemann
* build: source files sorted in a FS independent mannerYann Collet2017-08-261-2/+3
| | | | | to be more compatible with reproducible builds. patch inspired by @bmwiedemann
* Don't use C++11 deprecation attribute with clangNick Terrell2017-08-241-2/+4
| | | | | Clang doesn't accept a C++11 attribute following `LZ4LIB_API`. Use the GNU attribute instead.
* FIX: added prefix to FORCE_INLINE to prevent redefinition error during ↵tcpan2017-08-244-37/+37
| | | | compilation when used with other libraries that define FORCE_INLINE
* fix : asan error in dctx, due to increased maximum frame header size, ↵v1.8.0Yann Collet2017-08-171-3/+3
| | | | reported by Craig Young
* Merge branch 'dev' into installVars and fixed conflictsYann Collet2017-08-157-526/+817
|\
| * Merge pull request #383 from lz4/blockChecksumYann Collet2017-08-153-326/+400
| |\ | | | | | | Block checksum
| | * restored block checksum capability at lz4frame API levelYann Collet2017-08-123-326/+400
| | |