- Jan 25, 2022
-
-
Yann Collet authored
parameters adaptation not only help speed, it also helps compression ratio.
-
- Jan 07, 2022
-
-
Yann Collet authored
-
- Dec 30, 2021
-
-
Yann Collet authored
subtle dependency on sumtype numeric representation
-
- Dec 20, 2021
-
-
Yann Collet authored
-
- Dec 17, 2021
-
-
Yann Collet authored
-
Yann Collet authored
-
- Dec 16, 2021
-
-
Yann Collet authored
-
- Dec 13, 2021
-
-
W. Felix Handte authored
-
- Oct 08, 2021
-
-
Nick Terrell authored
Fix underflow of `nbCompares` by switching to an `int` and comparing `nbCompares > 0`. This is a minimal fix, because I don't want to change the logic. These loops seem to be doing `nbCompares + 1` comparisons. The bug was reported by Dan Carpenter and found by Smatch static checker. https://lore.kernel.org/all/20211008063704.GA5370@kili/
-
- Oct 05, 2021
-
-
W. Felix Handte authored
-
- Sep 28, 2021
- Sep 21, 2021
-
-
senhuang42 authored
-
- Sep 17, 2021
-
-
Nick Terrell authored
* Extract out common portion of `lib/Makefile` into `lib/libzstd.mk`. Most relevantly, the way we find library files. * Use `lib/libzstd.mk` in the other Makefiles instead of repeating the same code. * Add a test `tests/test-variants.sh` that checks that the builds of `make -C programs allVariants` are correct, and run it in Actions. * Adds support for ASM files in the CMake build. The Meson build is not updated because it lists every file in zstd, and supports ASM off the bat, so the Huffman ASM commit will just add the ASM file to the list. The Visual Studios build is not updated because I'm not adding ASM support to Visual Studios yet.
-
- Sep 13, 2021
-
-
Sen Huang authored
-
- Sep 12, 2021
-
-
Yann Collet authored
-
- Sep 08, 2021
-
-
Yann Collet authored
-
- Sep 07, 2021
-
-
Yann Collet authored
-
- Sep 03, 2021
-
-
Yann Collet authored
-
- Sep 01, 2021
-
-
Yann Collet authored
-
W. Felix Handte authored
-
- Aug 04, 2021
-
-
Sen Huang authored
-
senhuang42 authored
-
senhuang42 authored
-
- May 24, 2021
-
-
senhuang42 authored
-
- May 19, 2021
-
-
Nick Terrell authored
Changing the repcode search slightly, and changing when zstd is in ext-dict vs. prefix mode in edge cases, slightly changes the compressed results.
-
- May 06, 2021
-
-
Nick Terrell authored
The LDM change in PR #2602 changed the algorithm slightly. The compressed size is generally positive, and when it is worse, it is only a few bytes.
-
- Apr 26, 2021
-
-
senhuang42 authored
-
- Apr 07, 2021
-
-
Sen Huang authored
-
- Apr 06, 2021
-
-
sen authored
* Move cdict clevel override to before localdict init * Update results.csv after dict load changes
-
- Mar 30, 2021
-
-
Nick Terrell authored
* Switch to yearless copyright per FB policy * Fix up SPDX-License-Identifier lines in `contrib/linux-kernel` sources * Add zstd copyright/license header to the `contrib/linux-kernel` sources * Update the `tests/test-license.py` to check for yearless copyright * Improvements to `tests/test-license.py` * Check `contrib/linux-kernel` in `tests/test-license.py`
-
- Mar 25, 2021
- Feb 25, 2021
-
-
Nick Terrell authored
Fixes the update from PR #2508. I had accidentally forgotten to rebuild the library, and the regression test suite isn't hooked up to the new fancy build system yet. I've double checked that the results are deterministic.
-
- Feb 23, 2021
-
-
Nick Terrell authored
9f327c02 changed the compression method for LDM, so the results are slightly different. I've re-tested LDM on some larger inputs and everything seems fine. These ratio changes just seem to be noise. There is generally a 0.01% swing in ratio, sometimes better sometimes worse, but never large.
-
- Jan 04, 2021
-
-
Nick Terrell authored
Fixes #2442. 1. When creating a dictionary keep the same behavior as before. Assume the source size is 513 bytes when adjusting parameters. 2. When calling ZSTD_getCParams() or ZSTD_adjustCParams() keep the same behavior as before. 3. When attaching a dictionary keep the same behavior of ignoring the dictionary size. When streaming this will select the largest parameters and not adjust them down. But, the CDict will use the correctly sized parameters, which seems like the right tradeoff. 4. When not attaching a dictionary (either forced not to, or using a prefix dictionary) we select parameters based on the dictionary size + source size, and assume the source size is small, which is the same behavior as before. But, now we don't adjust the window log (and hash and chain log) down when the source size is unknown. When the source size is unknown all cdicts should attach, except when the user disables attaching, or `forceWindow` is used. This means that when streaming with a CDict we end up in the good case where we get small CDict parameters, and large source parameters. TODO: Add a streaming + dictionary regression test case.
-
Nick Terrell authored
* Add a test that runs without a pledgedSrcSize and with a dictionary. * Add github.tar data with uses the github dictionary while compressing github.tar, instead of each file individually.
-
Nick Terrell authored
-
- Oct 30, 2020
-
-
Nick Terrell authored
-