summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* build: minor : `make lz4` doesn't compile liblz4 anymoreYann Collet2017-11-061-3/+3
| | | | since it's not needed.
* Merge pull request #417 from sylvestre/devYann Collet2017-11-061-1/+12
|\ | | | | When building with a C++ compiler, remove the 'register' keyword to silent a warning
| * 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
| |
* | Merge pull request #408 from terrelln/timeYann Collet2017-10-312-41/+110
|\ \ | | | | | | [bench] Use higher resolution timer on POSIX
| * | [bench] Use higher resolution timer on POSIXNick Terrell2017-10-172-41/+110
| |/ | | | | | | | | | | | | The timer used was only accurate up to 0.01 seconds. This timer is accurate up to 1 ns. It is a monotonic timer that measures the real time difference, not on CPU time. Copied the benchmark code from https://github.com/facebook/zstd/commit/6ab4d5e9041aba962a810ffee191f95897c6208e
* | Merge pull request #412 from mikir/symbolsVisibilityYann Collet2017-10-301-7/+11
|\ \ | |/ |/| Separated visibility from LZ4LIB_API macro.
| * Separated visibility from LZ4LIB_API macro.mikir2017-10-301-7/+11
|/
* lz4cli : minor rewrite of lz4c legacy commandsYann Collet2017-10-151-12/+13
| | | | for clarity
* Merge branch 'dev' of github.com:Cyan4973/lz4 into devYann Collet2017-10-151-1/+34
|\
| * Merge pull request #407 from odaira/useO2ppc64leYann Collet2017-10-131-1/+34
| |\ | | | | | | Use O2 for the decompression functions on ppc64le with gcc
| | * 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
* | lz4cli : removed extension artefactsYann Collet2017-10-151-15/+7
|/ | | | It used to be useful for an old Windows variant which is no longer maintained.
* Merge pull request #403 from felixhandte/lz4-cli-dict-support-testsYann Collet2017-10-104-5/+164
|\ | | | | Support Dictionaries on the Command Line
| * Read the Dictionary into a Circular BufferW. Felix Handte2017-10-101-22/+49
| |
| * Add some tests verifying command line dictionary functionalityW. Felix Handte2017-10-101-1/+28
| |
| * Add Dictionary Support to the Command Line ToolW. Felix Handte2017-10-103-4/+109
| |
* | 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.
* Merge pull request #402 from felixhandte/fix-dict-segfaultYann Collet2017-09-231-0/+1
|\ | | | | Fix dict segfault
| * Fix Segfault When Copying DictW. Felix Handte2017-09-221-0/+1
|/ | | | dctx must have been initialized before we can copy the dictionary in.
* minor improvements to examplesYann Collet2017-09-112-10/+18
| | | | | cosmetic : better display added optional variable MOREFLAGS
* made clang warnings fail (-Werror)Yann Collet2017-09-101-1/+1
| | | | in order to catch them in CI tests
* fixed a bunch of -Wcomma warningsYann Collet2017-09-104-5/+18
| | | | reported by @rvandermeulen (#398)
* added -Wcomma to travisCI clang testYann Collet2017-09-101-1/+2
|
* fix #397 : decompression failed when using a combination of extDict + low ↵Yann Collet2017-09-072-2/+2
| | | | | | | | 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-073-48/+36
| | | | minor : slightly modified an example do avoid disabling a gcc warning through #pragma
* minor Makefile fixesYann Collet2017-09-072-9/+10
|
* updated lib/READMEYann Collet2017-09-061-28/+28
| | | | clarifications, improved wording
* complementary information for #394Yann Collet2017-08-302-17/+29
|
* clarified documentation of streaming decompression functionsYann Collet2017-08-302-18/+26
| | | | | (synchronous bufferless mode) answering questions by @jtbandes (#394)
* minor typo fixYann Collet2017-08-302-1/+2
|
* 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-263-7/+10
| | | | | to be more compatible with reproducible builds. patch inspired by @bmwiedemann
* updated NEWS with fixesYann Collet2017-08-251-0/+4
|
* Merge pull request #386 from lz4/parallelMakeYann Collet2017-08-256-285/+139
|\ | | | | `make test` compatible with parallel execution (`-j#`)
| * removed fasttest from circleCIYann Collet2017-08-251-1/+0
| |
| * removed test-fasttestYann Collet2017-08-252-2/+2
| |
| * fixed make recurrence from /testsYann Collet2017-08-252-13/+8
| |
| * removed fasttestYann Collet2017-08-252-163/+2
| |
| * minor : added header licenseYann Collet2017-08-243-9/+32
| |