zstd-ruby 1.3.8.0 → 1.4.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +6 -5
- data/README.md +1 -1
- data/ext/zstdruby/libzstd/Makefile +133 -61
- data/ext/zstdruby/libzstd/README.md +51 -18
- data/ext/zstdruby/libzstd/common/bitstream.h +38 -39
- data/ext/zstdruby/libzstd/common/compiler.h +41 -6
- data/ext/zstdruby/libzstd/common/cpu.h +1 -1
- data/ext/zstdruby/libzstd/common/debug.c +11 -31
- data/ext/zstdruby/libzstd/common/debug.h +11 -31
- data/ext/zstdruby/libzstd/common/entropy_common.c +13 -33
- data/ext/zstdruby/libzstd/common/error_private.c +2 -1
- data/ext/zstdruby/libzstd/common/error_private.h +6 -2
- data/ext/zstdruby/libzstd/common/fse.h +13 -33
- data/ext/zstdruby/libzstd/common/fse_decompress.c +12 -35
- data/ext/zstdruby/libzstd/common/huf.h +15 -33
- data/ext/zstdruby/libzstd/common/mem.h +75 -2
- data/ext/zstdruby/libzstd/common/pool.c +8 -4
- data/ext/zstdruby/libzstd/common/pool.h +2 -2
- data/ext/zstdruby/libzstd/common/threading.c +52 -6
- data/ext/zstdruby/libzstd/common/threading.h +36 -4
- data/ext/zstdruby/libzstd/common/xxhash.c +25 -37
- data/ext/zstdruby/libzstd/common/xxhash.h +11 -31
- data/ext/zstdruby/libzstd/common/zstd_common.c +1 -1
- data/ext/zstdruby/libzstd/common/zstd_errors.h +2 -1
- data/ext/zstdruby/libzstd/common/zstd_internal.h +203 -22
- data/ext/zstdruby/libzstd/compress/fse_compress.c +19 -42
- data/ext/zstdruby/libzstd/compress/hist.c +15 -35
- data/ext/zstdruby/libzstd/compress/hist.h +12 -32
- data/ext/zstdruby/libzstd/compress/huf_compress.c +92 -92
- data/ext/zstdruby/libzstd/compress/zstd_compress.c +1460 -1472
- data/ext/zstdruby/libzstd/compress/zstd_compress_internal.h +330 -65
- data/ext/zstdruby/libzstd/compress/zstd_compress_literals.c +158 -0
- data/ext/zstdruby/libzstd/compress/zstd_compress_literals.h +29 -0
- data/ext/zstdruby/libzstd/compress/zstd_compress_sequences.c +419 -0
- data/ext/zstdruby/libzstd/compress/zstd_compress_sequences.h +54 -0
- data/ext/zstdruby/libzstd/compress/zstd_compress_superblock.c +845 -0
- data/ext/zstdruby/libzstd/compress/zstd_compress_superblock.h +32 -0
- data/ext/zstdruby/libzstd/compress/zstd_cwksp.h +525 -0
- data/ext/zstdruby/libzstd/compress/zstd_double_fast.c +65 -43
- data/ext/zstdruby/libzstd/compress/zstd_double_fast.h +2 -2
- data/ext/zstdruby/libzstd/compress/zstd_fast.c +264 -159
- data/ext/zstdruby/libzstd/compress/zstd_fast.h +2 -2
- data/ext/zstdruby/libzstd/compress/zstd_lazy.c +74 -42
- data/ext/zstdruby/libzstd/compress/zstd_lazy.h +2 -2
- data/ext/zstdruby/libzstd/compress/zstd_ldm.c +33 -11
- data/ext/zstdruby/libzstd/compress/zstd_ldm.h +7 -2
- data/ext/zstdruby/libzstd/compress/zstd_opt.c +108 -125
- data/ext/zstdruby/libzstd/compress/zstd_opt.h +1 -1
- data/ext/zstdruby/libzstd/compress/zstdmt_compress.c +129 -93
- data/ext/zstdruby/libzstd/compress/zstdmt_compress.h +46 -28
- data/ext/zstdruby/libzstd/decompress/huf_decompress.c +76 -60
- data/ext/zstdruby/libzstd/decompress/zstd_ddict.c +14 -10
- data/ext/zstdruby/libzstd/decompress/zstd_ddict.h +2 -2
- data/ext/zstdruby/libzstd/decompress/zstd_decompress.c +471 -258
- data/ext/zstdruby/libzstd/decompress/zstd_decompress_block.c +471 -346
- data/ext/zstdruby/libzstd/decompress/zstd_decompress_block.h +3 -3
- data/ext/zstdruby/libzstd/decompress/zstd_decompress_internal.h +25 -4
- data/ext/zstdruby/libzstd/deprecated/zbuff.h +9 -8
- data/ext/zstdruby/libzstd/deprecated/zbuff_common.c +2 -2
- data/ext/zstdruby/libzstd/deprecated/zbuff_compress.c +1 -1
- data/ext/zstdruby/libzstd/deprecated/zbuff_decompress.c +1 -1
- data/ext/zstdruby/libzstd/dictBuilder/cover.c +220 -65
- data/ext/zstdruby/libzstd/dictBuilder/cover.h +81 -7
- data/ext/zstdruby/libzstd/dictBuilder/fastcover.c +85 -56
- data/ext/zstdruby/libzstd/dictBuilder/zdict.c +43 -19
- data/ext/zstdruby/libzstd/dictBuilder/zdict.h +73 -35
- data/ext/zstdruby/libzstd/dll/example/Makefile +2 -1
- data/ext/zstdruby/libzstd/dll/example/build_package.bat +3 -2
- data/ext/zstdruby/libzstd/legacy/zstd_legacy.h +49 -15
- data/ext/zstdruby/libzstd/legacy/zstd_v01.c +142 -117
- data/ext/zstdruby/libzstd/legacy/zstd_v01.h +13 -8
- data/ext/zstdruby/libzstd/legacy/zstd_v02.c +54 -25
- data/ext/zstdruby/libzstd/legacy/zstd_v02.h +13 -8
- data/ext/zstdruby/libzstd/legacy/zstd_v03.c +55 -25
- data/ext/zstdruby/libzstd/legacy/zstd_v03.h +13 -8
- data/ext/zstdruby/libzstd/legacy/zstd_v04.c +62 -29
- data/ext/zstdruby/libzstd/legacy/zstd_v04.h +13 -8
- data/ext/zstdruby/libzstd/legacy/zstd_v05.c +145 -109
- data/ext/zstdruby/libzstd/legacy/zstd_v05.h +14 -9
- data/ext/zstdruby/libzstd/legacy/zstd_v06.c +56 -26
- data/ext/zstdruby/libzstd/legacy/zstd_v06.h +11 -6
- data/ext/zstdruby/libzstd/legacy/zstd_v07.c +65 -28
- data/ext/zstdruby/libzstd/legacy/zstd_v07.h +11 -6
- data/ext/zstdruby/libzstd/libzstd.pc.in +3 -2
- data/ext/zstdruby/libzstd/zstd.h +921 -597
- data/lib/zstd-ruby/version.rb +1 -1
- data/zstd-ruby.gemspec +2 -2
- metadata +19 -14
- data/ext/zstdruby/libzstd/dll/libzstd.def +0 -87
data/lib/zstd-ruby/version.rb
CHANGED
data/zstd-ruby.gemspec
CHANGED
@@ -31,8 +31,8 @@ Gem::Specification.new do |spec|
|
|
31
31
|
spec.require_paths = ["lib"]
|
32
32
|
spec.extensions = ["ext/zstdruby/extconf.rb"]
|
33
33
|
|
34
|
-
spec.add_development_dependency "bundler"
|
35
|
-
spec.add_development_dependency "rake", "~>
|
34
|
+
spec.add_development_dependency "bundler"
|
35
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
36
36
|
spec.add_development_dependency "rake-compiler", '~> 1'
|
37
37
|
spec.add_development_dependency "rspec", "~> 3.0"
|
38
38
|
end
|
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zstd-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SpringMT
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '13.0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '13.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake-compiler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -118,6 +118,13 @@ files:
|
|
118
118
|
- ext/zstdruby/libzstd/compress/huf_compress.c
|
119
119
|
- ext/zstdruby/libzstd/compress/zstd_compress.c
|
120
120
|
- ext/zstdruby/libzstd/compress/zstd_compress_internal.h
|
121
|
+
- ext/zstdruby/libzstd/compress/zstd_compress_literals.c
|
122
|
+
- ext/zstdruby/libzstd/compress/zstd_compress_literals.h
|
123
|
+
- ext/zstdruby/libzstd/compress/zstd_compress_sequences.c
|
124
|
+
- ext/zstdruby/libzstd/compress/zstd_compress_sequences.h
|
125
|
+
- ext/zstdruby/libzstd/compress/zstd_compress_superblock.c
|
126
|
+
- ext/zstdruby/libzstd/compress/zstd_compress_superblock.h
|
127
|
+
- ext/zstdruby/libzstd/compress/zstd_cwksp.h
|
121
128
|
- ext/zstdruby/libzstd/compress/zstd_double_fast.c
|
122
129
|
- ext/zstdruby/libzstd/compress/zstd_double_fast.h
|
123
130
|
- ext/zstdruby/libzstd/compress/zstd_fast.c
|
@@ -153,7 +160,6 @@ files:
|
|
153
160
|
- ext/zstdruby/libzstd/dll/example/build_package.bat
|
154
161
|
- ext/zstdruby/libzstd/dll/example/fullbench-dll.sln
|
155
162
|
- ext/zstdruby/libzstd/dll/example/fullbench-dll.vcxproj
|
156
|
-
- ext/zstdruby/libzstd/dll/libzstd.def
|
157
163
|
- ext/zstdruby/libzstd/legacy/zstd_legacy.h
|
158
164
|
- ext/zstdruby/libzstd/legacy/zstd_v01.c
|
159
165
|
- ext/zstdruby/libzstd/legacy/zstd_v01.h
|
@@ -180,7 +186,7 @@ homepage: https://github.com/SpringMT/zstd-ruby
|
|
180
186
|
licenses:
|
181
187
|
- MIT
|
182
188
|
metadata: {}
|
183
|
-
post_install_message:
|
189
|
+
post_install_message:
|
184
190
|
rdoc_options: []
|
185
191
|
require_paths:
|
186
192
|
- lib
|
@@ -195,9 +201,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
195
201
|
- !ruby/object:Gem::Version
|
196
202
|
version: '0'
|
197
203
|
requirements: []
|
198
|
-
|
199
|
-
|
200
|
-
signing_key:
|
204
|
+
rubygems_version: 3.0.3
|
205
|
+
signing_key:
|
201
206
|
specification_version: 4
|
202
207
|
summary: Ruby binding for zstd(Zstandard - Fast real-time compression algorithm)
|
203
208
|
test_files: []
|
@@ -1,87 +0,0 @@
|
|
1
|
-
LIBRARY libzstd.dll
|
2
|
-
EXPORTS
|
3
|
-
ZDICT_getDictID
|
4
|
-
ZDICT_getErrorName
|
5
|
-
ZDICT_isError
|
6
|
-
ZDICT_trainFromBuffer
|
7
|
-
ZSTD_CStreamInSize
|
8
|
-
ZSTD_CStreamOutSize
|
9
|
-
ZSTD_DStreamInSize
|
10
|
-
ZSTD_DStreamOutSize
|
11
|
-
ZSTD_adjustCParams
|
12
|
-
ZSTD_checkCParams
|
13
|
-
ZSTD_compress
|
14
|
-
ZSTD_compressBegin
|
15
|
-
ZSTD_compressBegin_advanced
|
16
|
-
ZSTD_compressBegin_usingDict
|
17
|
-
ZSTD_compressBlock
|
18
|
-
ZSTD_compressBound
|
19
|
-
ZSTD_compressCCtx
|
20
|
-
ZSTD_compressContinue
|
21
|
-
ZSTD_compressEnd
|
22
|
-
ZSTD_compressStream
|
23
|
-
ZSTD_compress_advanced
|
24
|
-
ZSTD_compress_usingCDict
|
25
|
-
ZSTD_compress_usingDict
|
26
|
-
ZSTD_copyCCtx
|
27
|
-
ZSTD_copyDCtx
|
28
|
-
ZSTD_createCCtx
|
29
|
-
ZSTD_createCCtx_advanced
|
30
|
-
ZSTD_createCDict
|
31
|
-
ZSTD_createCDict_advanced
|
32
|
-
ZSTD_createCStream
|
33
|
-
ZSTD_createCStream_advanced
|
34
|
-
ZSTD_createDCtx
|
35
|
-
ZSTD_createDCtx_advanced
|
36
|
-
ZSTD_createDDict
|
37
|
-
ZSTD_createDStream
|
38
|
-
ZSTD_createDStream_advanced
|
39
|
-
ZSTD_decompress
|
40
|
-
ZSTD_decompressBegin
|
41
|
-
ZSTD_decompressBegin_usingDict
|
42
|
-
ZSTD_decompressBlock
|
43
|
-
ZSTD_decompressContinue
|
44
|
-
ZSTD_decompressDCtx
|
45
|
-
ZSTD_decompressStream
|
46
|
-
ZSTD_decompress_usingDDict
|
47
|
-
ZSTD_decompress_usingDict
|
48
|
-
ZSTD_endStream
|
49
|
-
ZSTD_estimateCCtxSize
|
50
|
-
ZSTD_estimateDCtxSize
|
51
|
-
ZSTD_flushStream
|
52
|
-
ZSTD_freeCCtx
|
53
|
-
ZSTD_freeCDict
|
54
|
-
ZSTD_freeCStream
|
55
|
-
ZSTD_freeDCtx
|
56
|
-
ZSTD_freeDDict
|
57
|
-
ZSTD_freeDStream
|
58
|
-
ZSTD_getBlockSizeMax
|
59
|
-
ZSTD_getCParams
|
60
|
-
ZSTD_getDecompressedSize
|
61
|
-
ZSTD_findDecompressedSize
|
62
|
-
ZSTD_getFrameContentSize
|
63
|
-
ZSTD_getErrorName
|
64
|
-
ZSTD_getFrameParams
|
65
|
-
ZSTD_getParams
|
66
|
-
ZSTD_initCStream
|
67
|
-
ZSTD_initCStream_advanced
|
68
|
-
ZSTD_initCStream_usingCDict
|
69
|
-
ZSTD_initCStream_usingDict
|
70
|
-
ZSTD_initDStream
|
71
|
-
ZSTD_initDStream_usingDDict
|
72
|
-
ZSTD_initDStream_usingDict
|
73
|
-
ZSTD_insertBlock
|
74
|
-
ZSTD_isError
|
75
|
-
ZSTD_isFrame
|
76
|
-
ZSTD_maxCLevel
|
77
|
-
ZSTD_nextInputType
|
78
|
-
ZSTD_nextSrcSizeToDecompress
|
79
|
-
ZSTD_resetCStream
|
80
|
-
ZSTD_resetDStream
|
81
|
-
ZSTD_sizeof_CCtx
|
82
|
-
ZSTD_sizeof_CDict
|
83
|
-
ZSTD_sizeof_CStream
|
84
|
-
ZSTD_sizeof_DCtx
|
85
|
-
ZSTD_sizeof_DDict
|
86
|
-
ZSTD_sizeof_DStream
|
87
|
-
ZSTD_versionNumber
|