- Nov 14, 2021
-
-
Lvv.me authored
-
- Nov 13, 2021
-
-
Yann Collet authored
Display command line parameters with concrete values in verbose mode
-
- Nov 12, 2021
-
-
Kevin Svetlitski authored
-
Kevin Svetlitski authored
-
- Nov 11, 2021
-
-
Kevin Svetlitski authored
-
Kevin Svetlitski authored
-
Kevin Svetlitski authored
-
Yann Collet authored
ZSTD_copy16() uses ZSTD_memcpy()
-
Kevin Svetlitski authored
-
Kevin Svetlitski authored
-
- Nov 10, 2021
-
-
Felix Handte authored
Fix Determinism Bug: Avoid Reducing Indices to Reserved Values
-
- Nov 09, 2021
-
-
binhdvo authored
-
W. Felix Handte authored
-
W. Felix Handte authored
Previously, if an index was equal to `reducerValue + 1`, it would get remapped during index reduction to 1 i.e. `ZSTD_DUBT_UNSORTED_MARK`. This can affect the parsing of the input slightly, by causing tree nodes to be nullified when they otherwise wouldn't be. This hardly matters from a correctness or efficiency perspective, but it does impact determinism. So this commit changes index reduction to avoid mapping indices to collide with `ZSTD_DUBT_UNSORTED_MARK`.
-
- Nov 05, 2021
-
-
Nick Terrell authored
Backport zstd patch from LKML
-
Nick Terrell authored
Credit to Nathan Chancellor for the bug fix and Nick Desaulniers for the bug report. Link: https://github.com/ClangBuiltLinux/linux/issues/1486 Link: https://lore.kernel.org/all/20211021202353.2356400-1-nathan@kernel.org/
-
sen authored
Use unused functions to appease Visual Studio
-
Kevin Svetlitski authored
-
Yann Collet authored
Improvements to verbose mode output - decompression memory usage
-
- Nov 04, 2021
-
-
Kevin Svetlitski authored
-
senhuang42 authored
-
Ma Lin authored
This accelerates the decompression speed of MSVC build.
-
- Nov 02, 2021
-
-
binhdvo authored
-
- Oct 29, 2021
-
-
binhdvo authored
-
- Oct 27, 2021
-
-
Yann Collet authored
-
- Oct 26, 2021
-
-
Yann Collet authored
minor : change build macro to ZSTD_DECODER_INTERNAL_BUFFER
-
Yann Collet authored
-
Yann Collet authored
also : introduced macro BOUNDED()
-
- Oct 25, 2021
-
-
Yann Collet authored
separate compression level tables into their own file
-
Nick Terrell authored
[lazy] Speed up compilation times
-
Yann Collet authored
that's clearer than finding the tables somewhere in the middle of `compress.c`. Also, down the line, it may potentially allows zstd to feature adjusted tables depending on target cpu.
-
Yann Collet authored
just to make the topic more accessible for potential users.
-
binhdvo authored
* Reduce size of dctx by reutilizing dst buffer Co-authored-by:
Binh Vo <binhvo@fb.com>
-
- Oct 22, 2021
-
-
Yann Collet authored
Support thread pool section in HTML documentation.
-
Nick Terrell authored
Speed up compilation times by moving each specialized search function into its own function. This is faster because compilers can handle many smaller functions much faster than one gigantic function. The previous approach generated one giant function with `switch` statements and inlining to select the implementation. | Compiler | Flags | Dev Time (s) | PR Time (s) | Delta | |----------|-------------------------------------|--------------|-------------|-------| | gcc | -O3 | 16.5 | 5.6 | -66% | | gcc | -O3 -g -fsanitize=address,undefined | 158.9 | 38.2 | -75% | | clang | -O3 | 36.5 | 5.5 | -85% | | clang | -O3 -g -fsanitize=address,undefined | 27.8 | 17.5 | -37% | This also reduces the binary size because the search functions are no longer inlined into the main body. | Compiler | Dev libzstd.a Size (B) | PR libzstd.a Size (B) | Delta | |----------|------------------------|-----------------------|-------| | gcc | 1563868 | 1308844 | -16% | | clang | 1924372 | 1376020 | -28% | Finally, the performance is not impacted significantly by this change, in fact we generally see a small speed boost. | Compiler | Level | Dev Speed (MB/s) | PR Speed (MB/s) | Delta | |----------|-------|------------------|-----------------|-------| | gcc | 5 | 110.6 | 110.0 | -0.5% | | gcc | 7 | 70.4 | 72.2 | +2.5% | | gcc | 9 | 53.2 | 53.5 | +0.5% | | gcc | 13 | 12.7 | 12.9 | +1.5% | | clang | 5 | 113.9 | 110.4 | -3.0% | | clang | 7 | 67.7 | 70.6 | +4.2% | | clang | 9 | 51.9 | 52.2 | +0.5% | | clang | 13 | 12.4 | 13.3 | +7.2% | The compression strategy is unmodified in this PR, so the compressed size should be exactly the same. I may have a follow up PR to slightly improve the compression ratio, if it doesn't cost too much speed.
-
- Oct 21, 2021
-
-
Nick Terrell authored
[asm] Switch to C style comments
-
- Oct 20, 2021
-
-
Nick Terrell authored
Switch to C style comments for increased portability, and consistency.
-
- Oct 18, 2021
-
-
Yann Collet authored
Fix a C89 error in msvc
-
- Oct 15, 2021
-
-
Martin Liska authored
-
- Oct 13, 2021
-
-
Felix Handte authored
Pipelined Implementation of ZSTD_dfast
-