Commit Graph

2366 Commits

Author SHA1 Message Date
yann.collet.73@gmail.com
32f4bab6fc Small compression speed improvement
git-svn-id: https://lz4.googlecode.com/svn/trunk@16 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
2011-09-13 12:01:11 +00:00
yann.collet.73@gmail.com
84bfd32c9c Corrected : CLI : Pipe mode in Windows (note : was already properly working for Linux)
git-svn-id: https://lz4.googlecode.com/svn/trunk@15 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
2011-09-03 16:06:26 +00:00
yann.collet.73@gmail.com
558c03a1af Corrected a (rare) bug in compression function
git-svn-id: https://lz4.googlecode.com/svn/trunk@14 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
2011-09-03 12:43:13 +00:00
yann.collet.73@gmail.com
3a6d9640fb LZ4Demo now supports Pipe mode (inspired by Huan Truong mod)
git-svn-id: https://lz4.googlecode.com/svn/trunk@13 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
2011-08-30 22:35:09 +00:00
yann.collet.73@gmail.com
8860e61b4f Removed LZ4_decode() function code.
If you need to provide "isize" instead of "osize" to the decoder, please use LZ4_uncompress_unknownOutputSize(), which is safer.

git-svn-id: https://lz4.googlecode.com/svn/trunk@12 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
2011-08-21 11:42:08 +00:00
yann.collet.73@gmail.com
a201020317 Improved compression and decompression speed under GCC compiler
git-svn-id: https://lz4.googlecode.com/svn/trunk@11 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
2011-06-07 17:57:25 +00:00
yann.collet.73@gmail.com
075bf1349b Greatly improved compression and decompression speed, at the expense of some compression ratio.
Most of the change is due to a modification in the performance parameter (HASH_LOG) now set to 12, to match Intel L1 cache processors.
You can change it back to 17 to get back previous compression ratio.
AMD users are invited to try HASH_LOG = 13, since AMD L1 cache is twice larger.

git-svn-id: https://lz4.googlecode.com/svn/trunk@10 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
2011-06-05 21:23:42 +00:00
yann.collet.73@gmail.com
6b798d5e40 New function : LZ4_uncompress : secure version which is safe against buffer overflow attacks
New function : LZ4_uncompress_unknownOutputSize : secure but slower version which also guess the size of data to be decoded
The demo file compression program (main.c) is updated to use these new functions
LZ4_decode is still supported but in deprecated status, due to its vulnerability to malicious buffer overflow scenario


git-svn-id: https://lz4.googlecode.com/svn/trunk@9 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
2011-06-04 17:15:43 +00:00
yann.collet.73@gmail.com
0121f47e00 Corrected : demo program : "/" no longer a valid option trigger, in order to allow absolute path on *nix systems.
Changed (minor) : demo program : differentiate error numbers between compression et decoding routines.

git-svn-id: https://lz4.googlecode.com/svn/trunk@8 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
2011-05-27 12:18:22 +00:00
yann.collet.73@gmail.com
ca8d6c21e5 Improved : safe type, for linux x64 (amd64) compatibility (Thanks to Erik Andersen)
Checked : OS X compatibility (Thanks Abhinav)
Corrected : Explicit unsigned constant for non C90-compliant C compilers (Thanks to Erik Andersen)
Changed : lowercase filename for case-sensitive file systems (like linux) (Thanks Abhinav & Erik)
Added : Makefile, for gcc (Thanks Abhinav & Erik)

git-svn-id: https://lz4.googlecode.com/svn/trunk@7 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
2011-05-25 22:25:57 +00:00
yann.collet.73@gmail.com
06abb77c00 Added some comments for better clarity
git-svn-id: https://lz4.googlecode.com/svn/trunk@6 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
2011-05-21 07:18:49 +00:00
yann.collet.73@gmail.com
f03375468c Correction : enforced typecasting for compatibility with gcc on *nix systems.
Thanks to Abhinav Mehta for reporting the issue.

git-svn-id: https://lz4.googlecode.com/svn/trunk@5 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
2011-05-20 19:54:28 +00:00
yann.collet.73@gmail.com
cfcae8a50f Strict end-of-buffer checks
License changed to BSD

git-svn-id: https://lz4.googlecode.com/svn/trunk@4 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
2011-04-26 23:49:24 +00:00
yann.collet.73@gmail.com
1920856128 Added CPP compatibility macro
git-svn-id: https://lz4.googlecode.com/svn/trunk@3 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
2011-04-25 08:24:43 +00:00
yann.collet.73@gmail.com
3610461005 git-svn-id: https://lz4.googlecode.com/svn/trunk@2 650e7d94-2a16-8b24-b05c-7c0b3f6821cd 2011-04-24 14:16:00 +00:00
(no author)
409f243690 Initial directory structure.
git-svn-id: https://lz4.googlecode.com/svn/trunk@1 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
2011-04-12 11:36:16 +00:00