summaryrefslogtreecommitdiffstats
path: root/lib/lz4.c
Commit message (Collapse)AuthorAgeFilesLines
* changed macro HEAPMODE into LZ4_HEAPMODEYann Collet2017-05-021-7/+7
| | | | | | | This macro is susceptible to be triggered from user side typically through compiler flag (-DLZ4_HEAPMODE=1). In which case, it makes sense to prefix the macro since we want to reduce potential side-effect on namespace.
* make __packed memory access default for gccYann Collet2017-03-301-4/+3
| | | | | | | It's always as good or better then memcpy() but depends on gcc-specific extension. solves https://github.com/facebook/zstd/issues/620
* LZ4_compress_HC_destSize() uses LZ4HC_compress_generic() code pathYann Collet2017-03-161-1/+1
| | | | | Limits compression level to 10, to remain compatible with Hash Chain.
* fix #283 : implement LZ4_versionString().Yann Collet2016-12-041-0/+1
|
* highly improved speed on -mx32 modeYann Collet2016-11-191-44/+40
| | | | Now -mx32 is fastest mode on x64 CPU
* attempt to fix sanitize32 package dependencyYann Collet2016-11-181-1/+1
|
* fix 32-bits mode.Yann Collet2016-11-171-3/+5
| | | | | | Large File support for Mac OS-X in 32-bits mode Fixed potential undefined behavior Changed makefile for 32-bits mode
* fixed minor conversion warningYann Collet2016-11-141-3/+2
|
* silence a minor msan warningYann Collet2016-11-141-0/+1
|
* fixed minor msan warningYann Collet2016-11-141-2/+2
|
* fixed __GNUC__ macroYann Collet2016-11-121-5/+5
|
* enabled deprecation warnings on remaining obsolete functionsYann Collet2016-11-121-3/+4
|
* Expose internal types to remove strict aliasingNick Terrell2016-11-111-69/+48
|
* Fixed #178 fullbench on small inputYann Collet2016-11-101-2/+9
|
* small compression ratio and speed improvement on small filesYann Collet2016-11-081-17/+12
|
* Merge branch 'dev' of github.com:Cyan4973/lz4 into devYann Collet2016-11-071-1/+1
|\
| * Fix LZ4_decompress_fast_continue() bugNick Terrell2016-11-051-1/+1
| | | | | | | | | | It specified the external dictionary location incorrectly. Add tests that expose this bug with both normal compilation and ASAN.
* | minor refactorYann Collet2016-11-051-1/+1
|/
* Quiet gcc-4.6.3 narrowing warningNick Terrell2016-11-041-2/+2
|
* better correctness on big-endian 64-bits platformsYann Collet2016-11-041-2/+6
|
* small compression speed improvement on 64-bits systemsYann Collet2016-11-041-8/+9
|
* updated commentsYann Collet2016-11-041-13/+12
|
* updated links to LZ4 repositoryPrzemyslaw Skibinski2016-11-031-1/+1
|
* removed test artefactsYann Collet2016-09-061-3/+2
|
* minor commentsYann Collet2016-08-201-17/+10
|
* minor refactorYann Collet2016-08-201-4/+2
|
* minor decompression speed gainsYann Collet2016-08-201-2/+5
|
* Use https wherever possibleBen Wiederhake2016-07-071-1/+1
|
* changed : default benchmark LZ4_decompress_safe()Yann Collet2016-06-291-7/+6
|
* Minor refactoring (code style)Yann Collet2016-06-291-50/+25
|
* Fixed : alignment warningYann Collet2016-06-291-3/+10
|
* minor refactoringYann Collet2016-06-291-10/+9
|
* very minor decompression speed gainYann Collet2016-06-291-2/+2
|
* minor code refactoringYann Collet2016-06-291-45/+25
|
* minor compression speed improvementYann Collet2016-06-291-3/+4
|
* minor refactoringYann Collet2016-06-291-8/+10
|
* minor refactoring (coding style)Yann Collet2016-06-291-140/+82
|
* fixed non-C99 compilersIrwan Djajadi2016-04-191-2/+4
|\
| * fixed non-C99 compilerIrwan Djajadi2016-04-191-3/+5
| |
* | Merge branch 'heapmode_alloc_failure_fix' into devIrwan Djajadi2016-04-191-0/+10
|\ \ | |/
| * alloc failure fixIrwan Djajadi2016-04-181-0/+10
| |
* | lz4cli: print library versionJohn Zhuge2016-04-011-0/+1
| |
* | Allow for safe in-place decodingJulius Werner2016-02-131-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a check to allow safe "in-place" decoding (meaning that the beginning of the source buffer partially overlaps the end of the destination buffer). This is usually possible as long as the output stops at least 15 bytes before the end of the input buffer (7 to account for the extra spill from LZ4_wildCopy, 4 for a possible block checksum, and 4 for the terminating block header), but in some pathological edge cases it could be possible for the output stream to overwrite a byte in the input stream before it gets decoded. With this patch the decoder will reliably detect those cases and return a decoding error. Signed-off-by: Julius Werner <jwerner@chromium.org>
* | heapmode macro option for lz4hcYann Collet2015-10-211-3/+3
| |
* | Updated Makefile and .travisYann Collet2015-09-011-1/+8
| |
* | New unalign access methodYann Collet2015-08-191-12/+41
| |
* | Slightly improved compression speed on ARMv6Yann Collet2015-08-161-11/+11
| |
* | Improved performance on ARMv6Yann Collet2015-08-161-15/+35
| |
* | minor simplification lz4_readarch()Yann Collet2015-08-061-12/+4
| |
* | minor refactorYann Collet2015-07-161-16/+15
| |