Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | decompress_generic: optimize match copy | Dave Watson | 2019-02-08 | 1 | -23/+28 | |
| | | | | | | | | | | | | | | | | | | Add an LZ4_wildCopy16, that will wildcopy, potentially smashing up to 16 bytes, and use it for match copy. On x64, this avoids many blocked loads due to store forwarding, similar to issue #411. | |||||
| * | | decompress_generic: Add a loop fastpath | Dave Watson | 2019-02-08 | 1 | -5/+153 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Copy the main loop, and change checks such that op is always less than oend-SAFE_DISTANCE. Currently these are added for the literal copy length check, and for the match copy length check. Otherwise the first loop is exactly the same as the second. Follow on diffs will optimize the first copy loop based on this new requirement. I also tried instead making a separate inlineable function for the copy loop (similar to existing partialDecode flags, etc), but I think the changes might be significant enough to warrent doubling the code, instead pulling out common functionality to separate functions. This is the basic transformation that will allow several following optimisations. | |||||
| * | | decompress_generic: Refactor variable length fields | Dave Watson | 2019-02-08 | 1 | -12/+35 | |
| | | | | | | | | | | | | | | | Make a helper function to read variable lengths for literals and match length. | |||||
* | | | Merge pull request #648 from aregm/fix-VS2017-solution | Yann Collet | 2019-02-07 | 1 | -11/+6 | |
|\ \ \ | | | | | | | | | Build fixed by removing unavailable project | |||||
| * | | | Build fixed by removing unavailable project | Areg Melik-Adamyan | 2019-02-07 | 1 | -11/+6 | |
|/ / / | ||||||
* | | | Merge pull request #646 from jbms/fix-clang-optimize-attribute-ppc64le | Yann Collet | 2019-02-04 | 1 | -1/+1 | |
|\ \ \ | |/ / |/| | | Eliminate optimize attribute warning with clang on PPC64LE | |||||
| * | | Eliminate optimize attribute warning with clang on PPC64LE | Jeremy Maitin-Shepard | 2019-02-04 | 1 | -1/+1 | |
|/ / | ||||||
* | | Merge pull request #644 from lzutao/meson-msvc-export | Yann Collet | 2019-01-23 | 2 | -1/+7 | |
|\ \ | | | | | | | meson: Add -DLZ4_DLL_EXPORT=1 to build dynamic lib on Windows | |||||
| * | | meson: Add -DLZ4_DLL_EXPORT=1 to build dynamic lib on Windows | Lzu Tao | 2019-01-23 | 2 | -1/+7 | |
|/ / | | | | | | | Thanks @nacho for pointing it out. | |||||
* | | Merge pull request #638 from lzutao/travis | Yann Collet | 2019-01-11 | 1 | -120/+129 | |
|\ \ | | | | | | | Travis: Clean up .travis.yml | |||||
| * | | travis: Prefer `apt-get` in `install` field than `addons-apt-sources` | Lzu Tao | 2019-01-10 | 1 | -46/+25 | |
| | | | ||||||
| * | | travis: Prefer `script` field than `Cmd` env | Lzu Tao | 2019-01-10 | 1 | -78/+108 | |
| | | | ||||||
* | | | Merge pull request #639 from lzutao/meson | Yann Collet | 2019-01-11 | 3 | -4/+4 | |
|\ \ \ | | | | | | | | | meson: Small improvements | |||||
| * | | | meson: Favor warning if cannot find version string | Lzu Tao | 2019-01-10 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | meson: Use libray as required argument in `pkgconfig` | Lzu Tao | 2019-01-10 | 1 | -2/+2 | |
| | | | | ||||||
| * | | | meson: Explicit use `meson setup` to setup a builddir | Lzu Tao | 2019-01-10 | 1 | -1/+1 | |
| |/ / | ||||||
* | | | Merge pull request #640 from tzakian/remove_io_globals | Yann Collet | 2019-01-11 | 3 | -166/+210 | |
|\ \ \ | | | | | | | | | Remove a bunch of global variables that tracked settings for the IO module | |||||
| * | | | Add cast around malloc | Tim Zakian | 2019-01-11 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Add constant pointer annotations | Tim Zakian | 2019-01-11 | 3 | -54/+55 | |
| | | | | ||||||
| * | | | Remove a bunch of global variables that tracked settings for the IO module, ↵ | Tim Zakian | 2019-01-10 | 3 | -166/+209 | |
|/ / / | | | | | | | | | | and move them in to a struct | |||||
* | | | Merge pull request #637 from tzakian/fix_pass-through_mode | Yann Collet | 2019-01-10 | 4 | -5/+26 | |
|\ \ \ | | | | | | | | | Fix pass-through mode | |||||
| * | | | Fix pass-through mode | Tim Zakian | 2019-01-10 | 4 | -5/+26 | |
|/ / / | ||||||
* | | | Merge pull request #635 from tzakian/clean_call_to_LZ4HC_encodeSequence | Yann Collet | 2019-01-10 | 1 | -7/+9 | |
|\ \ \ | | | | | | | | | Make effectfulness of calls to LZ4HC_encodeSequence clearer | |||||
| * | | | Make fact that certain variables that are passed into LZ4HC_encodeSequence ↵ | Tim Zakian | 2019-01-09 | 1 | -7/+9 | |
| | | | | | | | | | | | | | | | | are changed by the function call | |||||
* | | | | fixed strict C++ compilation | Yann Collet | 2019-01-09 | 2 | -1/+2 | |
| | | | | ||||||
* | | | | fixed long sequence overflow test | Yann Collet | 2019-01-09 | 1 | -1/+3 | |
| | | | | ||||||
* | | | | minor explicit cast warning | Yann Collet | 2019-01-09 | 1 | -1/+1 | |
|/ / / | ||||||
* | | | Merge pull request #634 from lz4/longSeqTest | Yann Collet | 2019-01-09 | 1 | -40/+76 | |
|\ \ \ | | | | | | | | | add a test to check long sequences (#631) | |||||
| * | | | add a test to check long sequences (#631) | Yann Collet | 2019-01-09 | 1 | -40/+76 | |
| | | | | | | | | | | | | | | | | | | | | the test fails, as intended, since #631 is not merged yet in this branch. | |||||
* | | | | Merge pull request #631 from qiuyangs/dev | Yann Collet | 2019-01-09 | 1 | -2/+2 | |
|\ \ \ \ | | | | | | | | | | | lz4hc.c: change (length >> 8) to (length / 255) | |||||
| * \ \ \ | Merge pull request #1 from qiuyangs/sunqiuyang-fix-length>>8 | qiuyangs | 2019-01-06 | 1 | -2/+2 | |
| |\ \ \ \ | | |_|/ / | |/| | | | lz4hc.c: change (length >> 8) to (length / 255) | |||||
| | * | | | lz4hc.c: change (length >> 8) to (length / 255) | qiuyangs | 2019-01-06 | 1 | -2/+2 | |
| |/ / / | | | | | | | | | Every 0xff byte in the compressed block corresponds to a length of 255 (not 256) in the input data. For long repeating sequences, using (length >> 8) may generate bad compressed blocks. | |||||
* | | | | Merge pull request #633 from tzakian/make_block_size_public | Yann Collet | 2019-01-09 | 3 | -8/+31 | |
|\ \ \ \ | |_|/ / |/| | | | Make LZ4F_getBlockSize public and public in experimental section | |||||
| * | | | Fix C90 compatibility issue | Tim Zakian | 2019-01-09 | 1 | -1/+2 | |
| | | | | ||||||
| * | | | Make LZ4F_getBlockSize public and publis in experimental section | Tim Zakian | 2019-01-09 | 3 | -8/+30 | |
|/ / / | ||||||
* | | | Merge pull request #632 from rubenochiavone/fix-lz4-extesion-not-decompressing | Yann Collet | 2019-01-09 | 2 | -5/+24 | |
|\ \ \ | |/ / |/| | | Fix lz4 extension in input filename not causing decompression | |||||
| * | | Add test to cover issue #596 | Ruben O. Chiavone | 2019-01-09 | 1 | -0/+5 | |
| | | | ||||||
| * | | Fix lz4 extension in input filename not causing decompression | Ruben O. Chiavone | 2019-01-09 | 1 | -5/+19 | |
|/ / | ||||||
* | | updated frame format | Yann Collet | 2019-01-02 | 1 | -7/+10 | |
| | | | | | | | | | | re-wording non-full blocks, for clarity. | |||||
* | | updated LZ4 block format | Yann Collet | 2019-01-02 | 1 | -36/+33 | |
| | | | | | | | | | | rewording the end of block conditions for clarity and answering related questions. | |||||
* | | Merge pull request #620 from lzutao/meson_symlink | Yann Collet | 2018-12-17 | 2 | -16/+12 | |
|\ \ | | | | | | | Update meson symlink and man1 extension | |||||
| * | | Simplify logic by setting default value for MESON_INSTALL_DESTDIR_PREFIX | Lzu Tao | 2018-12-13 | 1 | -4/+2 | |
| | | | ||||||
| * | | meson: Update man1 extension in meson 0.49.0 | Lzu Tao | 2018-12-13 | 1 | -1/+1 | |
| | | | ||||||
| * | | meson: Update InstallSymlink.py usage | Lzu Tao | 2018-12-13 | 1 | -11/+9 | |
| | | | | | | | | | | | | Change default directory mode to 755. | |||||
* | | | Merge pull request #621 from lzutao/meson_getversion | Yann Collet | 2018-12-14 | 1 | -5/+3 | |
|\ \ \ | |/ / |/| | | meson: Remove unused sys import | |||||
| * | | meson: Remove unused sys import | Lzu Tao | 2018-12-14 | 1 | -5/+3 | |
|/ / | ||||||
* | | Merge pull request #618 from dosaboy/add-snap-packaging-support | Yann Collet | 2018-12-12 | 2 | -0/+60 | |
|\ \ | | | | | | | Add snap packaging support | |||||
| * | | Add snap packaging support | Edward Hope-Morley | 2018-12-12 | 2 | -0/+60 | |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a snapcraft.yaml file to allow lz4 to be distributed as a snap (see https://snapcraft.io/ for more info on snaps). Building the Snap ----------------- To build the snap simply install snapcraft and build the snap e.g. on Ubuntu by doing: $ sudo apt install snapcraft $ cd contrib; snapcraft This will build a snap that can be published [1] to e.g. https://snapcraft.io/lz4 If you want to test the snap before publishing you can do: $ snap install <snapname>.snap --dangerous And that will install it on your local host. You will then have lz4 as a command to run. Installing the Snap ------------------- Once published and released in the snapstore your snap can be installed on any platform that supports snaps by doing: snap install lz4 [1] https://docs.snapcraft.io/releasing-to-the-snap-store | |||||
* | | Merge pull request #616 from felixhandte/lz4-attach-reject-short-dicts | Yann Collet | 2018-12-09 | 1 | -1/+1 | |
|\ \ | | | | | | | Fix LZ4_compress_fast_continue() Prefix Size Check | |||||
| * | | Fix Dict Size Test in `LZ4_compress_fast_continue()` | W. Felix Handte | 2018-12-05 | 1 | -4/+2 | |
| | | | | | | | | | | | | | | | | | | | | | Dictionaries don't need to be > 4 bytes, they need to be >= 4 bytes. This test was overly conservative. Also removes the test in `LZ4_attach_dictionary()`. |