zstd
zstd copied to clipboard
Zstandard - Fast real-time compression algorithm
**Describe the bug** In `convertPathnameToDirName()`, the code attempts to remove trailing `/` characters with: ```c len = strlen(pathname); while (pathname[len] == PATH_SEP) { pathname[len] = '\0'; len--; } ``` However,...
Hi, In function [TRACE_log](https://github.com/facebook/zstd/blob/d654fca78690fa15cceb8058ac47454d914a0e63/programs/zstdcli_trace.c#L80) 'duration' is received from function [ZSTD_trace_compress_end](https://github.com/facebook/zstd/blob/d654fca78690fa15cceb8058ac47454d914a0e63/programs/zstdcli_trace.c#L135), which states that it could be zero Which leads to a possible division by zero bug ``` void ZSTD_trace_compress_end(ZSTD_TraceCtx ctx,...
There were some article about gzip using now complex instructions of x86_64 CPUs such as AVX and pclmul. My question is, is there a way to compile zstd with these...
After https://github.com/facebook/zstd/pull/4328 landed, Chromium is experiencing a [build failure](https://ci.chromium.org/ui/p/chromium/builders/ci/win-arm64-rel/4260/overview) due to the changes in `lib/decompress/zstd_decompress_block.c`. ``` ../../third_party/zstd/src/lib/decompress/zstd_decompress_block.c(1729,29): error: ISO C does not allow indirection on operand of type 'const void...
The seek table of the seekable format has an optional `Checksum` [field](https://github.com/facebook/zstd/blob/dev/contrib/seekable_format/zstd_seekable_compression_format.md#seek_table_entries) for every frame, where the least 32 bit of the xxh64 hash of the uncompressed frame data are...
Is there some way to decide which of a set of dictionaries would be appropriate to use for a given piece of data? I've been thinking how I would do...
**Describe the bug** Hello! Has anyone encountered the issue `collect2: error: ld returned 1 exit status` `make[2]: *** [Makefile:161: obj/conf_20daa47e8058f816896e54abab38685b/zstd] Error 1` `make[1]: *** [Makefile:149: zstd] Error 2` `make: ***...
**Describe the bug** I build the library v1.5.4 with `CMake` on ubuntu 20.04, but failed to run, and noticed some weired behaviors. **Debug build** The compress call will crash, log...
**Describe the bug** Hello, I'm not sure whether this is a bug, the wrong API to use, user error, or just simply not possible. My use case is to perform...
** NOT FOR LANDING** Adding an extra parameter (-y) while running in benchmark mode to allow collecting processor performance counters, as that will allow next to know performance stats per...