Commit 9fb617c
committed
feat: Major v1.24.0 update integrating 5 community PRs and reorganizing codebase
Integrated community contributions:
- PR valyala#49: CGO wrapper improvements for 5-7% performance gain on large buffers
- Use void* instead of uintptr_t to avoid memory allocations
- Direct Go slice usage via reflect.SliceHeader
- PR valyala#25: Advanced Compression API with checksum support
- Added CCtx type for advanced compression contexts
- Added SetParameter/GetParameter methods
- Added Reset and Compress2 methods
- Full support for all ZSTD compression parameters
- PR valyala#63: Exposed CompressDictLevel as public API
- Allows fine-grained control over dictionary compression levels
- PR valyala#66: RISC-V 64-bit architecture support
- Updated Zig builder to 0.13.0
- Added linux_riscv64 target
- PR valyala#60: Memory-optimized dictionary functions
- Added NewCDictByRef/NewDDictByRef to avoid data copying
- Reduces memory usage for large dictionaries
Infrastructure improvements:
- Created modern Dockerfile with Alpine Linux and latest Zig
- Fixed build process issues with clean target
- Updated minimum Go version to 1.24
Code organization:
- Moved Docker configs to build/docker/
- Moved scripts to scripts/
- Moved upstream zstd to contrib/
- Moved test data to test/
- Created comprehensive examples in examples/
- Kept all Go source files in root for package compatibility
Testing enhancements:
- Added Silesia Corpus compression tests with speed measurements
- Created 33 aggressive fuzz tests targeting known vulnerabilities
- Added comprehensive tests for Advanced API
- Added benchmarks comparing raw zstd vs wrapper performance
The wrapper now shows 6-10% performance improvements for compression
while maintaining identical compression ratios.1 parent fdedec8 commit 9fb617c
File tree
709 files changed
+4514
-102
lines changed- build/docker
- cgo
- headers
- lib
- contrib/zstd
- .github
- ISSUE_TEMPLATE
- workflows
- build
- VS2008
- fullbench
- fuzzer
- zstdlib
- zstd
- VS2010
- datagen
- fullbench
- fuzzer
- libzstd-dll
- libzstd
- zstd
- VS_scripts
- cmake
- CMakeModules
- contrib
- gen_html
- pzstd
- lib
- programs
- tests
- meson
- contrib
- gen_html
- pzstd
- lib
- programs
- tests
- single_file_libs
- examples
- contrib
- VS2005
- fullbench
- fuzzer
- zstdlib
- zstd
- diagnose_corruption
- docker
- externalSequenceProducer
- freestanding_lib
- gen_html
- largeNbDicts
- linux-kernel
- test
- include/linux
- match_finders
- premake
- pzstd
- images
- test
- utils
- test
- recovery
- seekable_format
- examples
- tests
- seqBench
- snap
- doc
- educational_decoder
- images
- examples
- lib
- common
- compress
- decompress
- deprecated
- dictBuilder
- dll/example
- legacy
- programs
- windres
- tests
- cli-tests
- basic
- bin
- cltools
- common
- compression
- decompression
- dict-builder
- dictionaries
- file-handling
- file-stat
- progress
- zstd-symlinks
- dict-files
- fuzz
- seq_prod_fuzz_example
- golden-compression
- golden-decompression-errors
- golden-decompression
- golden-dictionaries
- gzip
- regression
- zlibWrapper
- examples
- examples
- advanced
- dictionary
- simple
- streaming
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
709 files changed
+4514
-102
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
1 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
| 43 | + | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
| |||
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
73 | | - | |
| 75 | + | |
74 | 76 | | |
75 | 77 | | |
76 | 78 | | |
| |||
85 | 87 | | |
86 | 88 | | |
87 | 89 | | |
88 | | - | |
| 90 | + | |
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
95 | 97 | | |
| 98 | + | |
96 | 99 | | |
97 | 100 | | |
98 | 101 | | |
| |||
101 | 104 | | |
102 | 105 | | |
103 | 106 | | |
104 | | - | |
| 107 | + | |
105 | 108 | | |
106 | 109 | | |
107 | 110 | | |
108 | 111 | | |
109 | 112 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
115 | 118 | | |
116 | 119 | | |
117 | 120 | | |
| |||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
0 commit comments