summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* use TIMELOOP_NANOSEC,Yann Collet2018-02-201-2/+2
| | | | as suggested by @terrelln
* fixed minor conversion warningYann Collet2018-02-201-2/+2
|
* ensure bench speed measurement is more accurate for small inputsYann Collet2018-02-202-24/+41
| | | | | | | | | | | | Previous method would produce too many time() invocations, becoming a significant fraction of workload measured. The new strategy is to use time() only once per batch, and dynamically resize batch size so that each round lasts approximately 1 second. This only matters for small inputs. Measurement for large files (such as silesia.tar) are much less impacted (though decoding speed is so fast that even medium-size files will notice an improvement).
* update bench.c to use less time invocationsYann Collet2018-02-201-9/+9
| | | | translating into more accurate speed measurements for small sources
* update API doc regarding double-buffer strategyYann Collet2018-02-182-2/+6
| | | | answering question #473
* Merge pull request #472 from hobomind/devYann Collet2018-02-141-1/+1
|\ | | | | fix: missed semicolon at programs/lz4io.c:954
| * fix: missed semicolon at programs/lz4io.c:954hobomind2018-02-141-1/+1
|/
* Merge pull request #470 from lz4/fasterDecYann Collet2018-02-131-10/+8
|\ | | | | Faster decoding speed
| * removed LZ4_copy8Yann Collet2018-02-121-11/+6
| | | | | | | | better use memcpy() directly
| * slightly improved decompression speed (~+1-2%)Yann Collet2018-02-111-2/+5
|/ | | | by making shortcut slightly more common
* Merge pull request #469 from mathstuf/intel-windows-packing-selectionYann Collet2018-02-082-2/+2
|\ | | | | intel: do not use __attribute__((packed)) on Windows
| * intel: do not use __attribute__((packed)) on WindowsBen Boeckel2018-02-082-2/+2
|/ | | | | | | On Windows, the Intel compiler is closer to MSVC rather than GCC and does not support the GCC attribute syntax. Fixes #468
* fixed code comment as detected in #466Yann Collet2018-02-072-59/+61
| | | | | Also clarified a few API code comments and updated associated html documentation
* Merge pull request #461 from terrelln/docsYann Collet2018-02-021-2/+4
|\ | | | | Clarify the requirements of the LZ4 streaming API
| * Clarify the requirements of the LZ4 streaming APINick Terrell2018-02-021-2/+4
|/
* Merge pull request #458 from lz4/ff161Yann Collet2018-02-011-4/+12
|\ | | | | Minor change to LZ4 Frame format specification
| * fix typos as suggested by @psteinbYann Collet2018-01-311-2/+2
| |
| * proposed a minor change to LZ4 Frame format specificationYann Collet2018-01-311-4/+12
| | | | | | | | add new terms "LZ4 Frame Header" and "LZ4 Frame Footer"
* | Merge pull request #460 from lz4/frameCompressYann Collet2018-02-017-220/+308
|\ \ | | | | | | refactored frameCompress.c example
| * | modified decompression part of frameCompress.cYann Collet2018-02-011-99/+138
| | | | | | | | | | | | using same logic as prior modifications for compression part.
| * | refactored ressource allocation to avoid gotoYann Collet2018-02-011-23/+12
| | |
| * | examples/Makefile : changed dependency orderYann Collet2018-02-012-10/+10
| | | | | | | | | | | | static library *.a must come after source files *.c on linux
| * | Merge branch 'dev' into frameCompressYann Collet2018-02-014-47/+42
| |\ \ | |/ / |/| |
* | | travisci : ensure "clean" betweeb 2 testsYann Collet2018-02-011-1/+1
| | |
* | | modified gpptest recipeYann Collet2018-02-011-11/+8
| | |
* | | Merge pull request #459 from Tyilo/clang-stdc++14Yann Collet2018-02-012-35/+33
|\ \ \ | | | | | | | | Ensure LZ4_DEPRECATED("...") is before LZ4LIB_API
| * | | Always prefer c++14 attributes if availableAsger Hautop Drewsen2018-01-311-4/+2
| | | |
| * | | Ensure LZ4_DEPRECATED("...") is before LZ4LIB_APIAsger Hautop Drewsen2018-01-312-31/+31
|/ / / | | | | | | | | | | | | | | | When using clang++ with std c++14 or c++17 you would get the error "an attribute list cannot appear here" when including "lz4.h" as the visibility attribute is before the c++ attribute. This ensures that the [[deprecated]] c++ attribute is before everything else in the function declarations.
| * | refactored frameCompress.c example codeYann Collet2018-02-011-51/+81
| | | | | | | | | | | | | | | | | | compression function returns a struct. Also : nested structure ressources->computation to make it easier to manage multiple exit points.
| * | fixed read size, as noticed by @terrellnYann Collet2018-02-011-1/+1
| | |
| * | ensure proper dependencies are built for /examplesYann Collet2018-02-011-19/+25
| | | | | | | | | | | | also : use liblz4.a static lib to share compilation time
| * | refactored frameCompress exampleYann Collet2018-01-316-96/+120
|/ / | | | | | | to better reflect LZ4F API usage.
* | Merge pull request #455 from terrelln/hc-defaultYann Collet2018-01-221-1/+1
|\ \ | |/ |/| [lz4hc] level == 0 means default, not level 1
| * [lz4hc] level == 0 means default, not level 1Nick Terrell2018-01-221-1/+1
|/
* Merge pull request #453 from lz4/clockfixYann Collet2018-01-171-1/+8
|\ | | | | fix #450 : use more restrictive conditions for clock_gettime()
| * use more restrictive conditions for clock_gettime()Yann Collet2018-01-161-1/+8
| |
* | Merge pull request #454 from sunpoet/devYann Collet2018-01-171-2/+2
|\ \ | |/ |/| Change file format back to ASCII (from UTF-8)
| * Change file format back to ASCII (from UTF-8)Po-Chuan Hsieh2018-01-171-2/+2
|/ | | | | | | - Replace U+00A0 by space - Fix build failure of archivers/py-borgbackup in FreeBSD Reference: https://bugs.FreeBSD.org/225235
* added checkTagYann Collet2018-01-154-1/+92
| | | | | checkTag verifies that provided tag and library version match. It's started automatically in circleCI when a new tag is created.
* restored .travisv1.8.1.2Yann Collet2018-01-142-25/+148
|
* lz4frame : removed some intermediate stage from LZ4F_decompress()Yann Collet2018-01-141-16/+6
| | | | | ensure some strange jump cases are not possible (they were already not possible, but static analyzer couldn't understand it).
* Merge branch 'dev' into coverity_scanYann Collet2018-01-144-40/+47
|\
| * minor : try to tell static analyzer that we don't care if fseek() failsYann Collet2018-01-141-1/+1
| | | | | | | | as already explained in comments.
| * ensure a ptr is non-nullYann Collet2018-01-141-0/+9
| | | | | | | | | | with an assert() to help static analyzer understanding this condition.
| * modified formulation for LZ4F_compressBound()Yann Collet2018-01-142-24/+24
| | | | | | | | | | | | previous version used an intentional overflow, which is defined since it uses unsigned type, but static analyzer complain about it.
| * programs/datagen : attempt to please static analyzerYann Collet2018-01-141-15/+12
| | | | | | | | | | with an assert() to reduce false positive
| * lz4io: fixed minor ressource leakYann Collet2018-01-141-0/+1
| |
* | revert project nameYann Collet2018-01-141-1/+1
| |
* | minor name updateYann Collet2018-01-141-1/+1
| |
* | Merge branch 'master' into coverity_scanYann Collet2018-01-1465-3150/+5623
|\ \