omnizip 0.4.9-arm-linux → 0.4.11-arm-linux
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop-oss.yml +814 -0
- data/.rubocop.yml +15 -1
- data/.rubocop_todo.yml +7 -1
- data/CHANGELOG.md +17 -0
- data/Gemfile +23 -1
- data/README.adoc +101 -1282
- data/docs/compatibility.adoc +1 -2
- data/docs/lychee.toml +1 -7
- data/lib/omnizip/algorithms/deflate/constants.rb +5 -3
- data/lib/omnizip/implementations/rust/archive.rb +9 -41
- data/lib/omnizip/implementations/rust/ffi_library.rb +127 -0
- data/lib/omnizip/implementations/rust/fiddle_library.rb +144 -0
- data/lib/omnizip/implementations/rust/library.rb +39 -104
- data/lib/omnizip/implementations/rust.rb +2 -0
- data/lib/omnizip/version.rb +1 -1
- data/lib/tasks/docs.rake +146 -0
- data/readme-docs/rar-archives.adoc +505 -0
- data/scripts/generate_rar_oracle_fixtures.rb +177 -0
- data/vendor/libomnizip_ffi.so +0 -0
- metadata +21 -74
- data/TODO.refactor/00-overview.md +0 -67
- data/TODO.refactor/01-registry-base-class.md +0 -81
- data/TODO.refactor/02-error-hierarchy.md +0 -57
- data/TODO.refactor/03-autoload-entry-point.md +0 -69
- data/TODO.refactor/04-filter-base-consolidation.md +0 -49
- data/TODO.refactor/05-send-private-methods.md +0 -64
- data/TODO.refactor/06-instance-variable-access.md +0 -69
- data/TODO.refactor/07-respond-to-replacement.md +0 -237
- data/TODO.refactor/08-spec-doubles.md +0 -27
- data/TODO.refactor/09-cli-shared-module.md +0 -35
- data/TODO.refactor/10-format-detector-ocp.md +0 -34
- data/TODO.refactor/11-convenience-decoupling.md +0 -38
- data/TODO.refactor/12-thread-safety.md +0 -8
- data/TODO.refactor/13-lutaml-model-migration.md +0 -158
- data/TODO.refactor/14-add-missing-specs.md +0 -25
- data/docs/.github/workflows/docs.yml +0 -142
- data/docs/.gitignore +0 -21
- data/docs/Gemfile +0 -13
- data/docs/README.md +0 -101
- data/docs/_config.yml +0 -112
- data/docs/comparison/feature-matrix.adoc +0 -694
- data/docs/comparison/index.adoc +0 -113
- data/docs/comparison/vs-7zip.adoc +0 -309
- data/docs/comparison/vs-peazip.adoc +0 -77
- data/docs/comparison/vs-rubyzip.adoc +0 -342
- data/docs/comparison/vs-winrar.adoc +0 -100
- data/docs/concepts/index.adoc +0 -129
- data/docs/developer/architecture.adoc +0 -256
- data/docs/developer/contributing.adoc +0 -158
- data/docs/developer/index.adoc +0 -25
- data/docs/developer/testing.adoc +0 -212
- data/docs/getting-started/basic-usage.adoc +0 -263
- data/docs/getting-started/index.adoc +0 -42
- data/docs/getting-started/installation.adoc +0 -138
- data/docs/getting-started/quick-start.adoc +0 -183
- data/docs/getting-started/your-first-archive.adoc +0 -219
- data/docs/guides/advanced-features/encryption.adoc +0 -277
- data/docs/guides/advanced-features/index.adoc +0 -59
- data/docs/guides/advanced-features/parallel-processing.adoc +0 -144
- data/docs/guides/advanced-features/progress-tracking.adoc +0 -124
- data/docs/guides/advanced-features/streaming.adoc +0 -142
- data/docs/guides/archive-formats/gzip-format.adoc +0 -105
- data/docs/guides/archive-formats/index.adoc +0 -160
- data/docs/guides/archive-formats/ole-format.adoc +0 -151
- data/docs/guides/archive-formats/rar-format.adoc +0 -104
- data/docs/guides/archive-formats/rar5.adoc +0 -521
- data/docs/guides/archive-formats/rpm-format.adoc +0 -108
- data/docs/guides/archive-formats/seven-zip-format.adoc +0 -35
- data/docs/guides/archive-formats/tar-format.adoc +0 -106
- data/docs/guides/archive-formats/xz-format.adoc +0 -118
- data/docs/guides/archive-formats/zip-format.adoc +0 -35
- data/docs/guides/compression-algorithms/bzip2.adoc +0 -114
- data/docs/guides/compression-algorithms/deflate.adoc +0 -313
- data/docs/guides/compression-algorithms/index.adoc +0 -190
- data/docs/guides/compression-algorithms/lzma.adoc +0 -394
- data/docs/guides/compression-algorithms/lzma2.adoc +0 -244
- data/docs/guides/compression-algorithms/ppmd.adoc +0 -313
- data/docs/guides/compression-algorithms/zstandard.adoc +0 -296
- data/docs/guides/creating-archives.adoc +0 -348
- data/docs/guides/extracting-archives.adoc +0 -53
- data/docs/guides/format-conversion.adoc +0 -64
- data/docs/guides/index.adoc +0 -49
- data/docs/guides/migration-rubyzip.adoc +0 -217
- data/docs/guides/parity-archives.adoc +0 -605
- data/docs/guides/performance-tuning.adoc +0 -88
- data/docs/index.adoc +0 -228
- data/docs/reference/api/overview.adoc +0 -187
- data/docs/reference/cli/compress-command.adoc +0 -114
- data/docs/reference/cli/overview.adoc +0 -140
- data/docs/reference/index.adoc +0 -26
- data/docs/resources/faq.adoc +0 -185
- data/docs/resources/quick-reference.adoc +0 -222
- data/docs/troubleshooting/index.adoc +0 -207
|
@@ -1,313 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Deflate
|
|
3
|
-
nav_order: 5
|
|
4
|
-
parent: Compression Algorithms
|
|
5
|
-
grand_parent: Guides
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
== Purpose
|
|
9
|
-
|
|
10
|
-
Deflate is the standard ZIP compression algorithm, offering a good balance between compression ratio and speed. It's universally supported and provides fast compression and decompression.
|
|
11
|
-
|
|
12
|
-
== Key Characteristics
|
|
13
|
-
|
|
14
|
-
[cols="1,3"]
|
|
15
|
-
|===
|
|
16
|
-
|Property |Value
|
|
17
|
-
|
|
18
|
-
|Compression Ratio
|
|
19
|
-
|Good
|
|
20
|
-
|
|
21
|
-
|Compression Speed
|
|
22
|
-
|Fast
|
|
23
|
-
|
|
24
|
-
|Decompression Speed
|
|
25
|
-
|Very fast
|
|
26
|
-
|
|
27
|
-
|Memory Usage
|
|
28
|
-
|Low
|
|
29
|
-
|
|
30
|
-
|Compatibility
|
|
31
|
-
|Universal (ZIP standard)
|
|
32
|
-
|
|
33
|
-
|Best For
|
|
34
|
-
|General use, speed-critical applications, maximum compatibility
|
|
35
|
-
|===
|
|
36
|
-
|
|
37
|
-
== When to Use Deflate
|
|
38
|
-
|
|
39
|
-
**Choose Deflate when**:
|
|
40
|
-
|
|
41
|
-
* Speed is more important than maximum compression
|
|
42
|
-
* Creating ZIP archives for broad compatibility
|
|
43
|
-
* Working with already-compressed data
|
|
44
|
-
* Need fast decompression
|
|
45
|
-
* Memory is limited
|
|
46
|
-
|
|
47
|
-
**Consider alternatives when**:
|
|
48
|
-
|
|
49
|
-
* Maximum compression is priority (use LZMA2)
|
|
50
|
-
* Working with text files (use PPMd)
|
|
51
|
-
* Need even faster compression (use Zstandard)
|
|
52
|
-
|
|
53
|
-
== Basic Usage
|
|
54
|
-
|
|
55
|
-
=== Create ZIP with Deflate
|
|
56
|
-
|
|
57
|
-
[source,ruby]
|
|
58
|
-
----
|
|
59
|
-
# Deflate is the default for ZIP
|
|
60
|
-
Omnizip.compress_directory('project/', 'backup.zip')
|
|
61
|
-
|
|
62
|
-
# ZIP entries use Deflate by default
|
|
63
|
-
Omnizip::Archive.create('archive.zip', format: :zip) do |archive|
|
|
64
|
-
archive.add_directory('files/')
|
|
65
|
-
end
|
|
66
|
-
----
|
|
67
|
-
|
|
68
|
-
=== Rubyzip-Compatible API
|
|
69
|
-
|
|
70
|
-
[source,ruby]
|
|
71
|
-
----
|
|
72
|
-
require 'omnizip/rubyzip_compat'
|
|
73
|
-
|
|
74
|
-
# Standard ZIP creation with Deflate
|
|
75
|
-
Zip::File.open('archive.zip', create: true) do |zip|
|
|
76
|
-
zip.add('readme.txt', 'README.md')
|
|
77
|
-
zip.add('data.json', 'config/data.json')
|
|
78
|
-
end
|
|
79
|
-
----
|
|
80
|
-
|
|
81
|
-
== Compression Levels
|
|
82
|
-
|
|
83
|
-
Deflate supports levels 1-9:
|
|
84
|
-
|
|
85
|
-
[cols="1,2,2,2"]
|
|
86
|
-
|===
|
|
87
|
-
|Level |Speed |Ratio |Best For
|
|
88
|
-
|
|
89
|
-
|1
|
|
90
|
-
|Fastest
|
|
91
|
-
|Basic
|
|
92
|
-
|Quick archiving, temporary files
|
|
93
|
-
|
|
94
|
-
|3
|
|
95
|
-
|Very Fast
|
|
96
|
-
|Moderate
|
|
97
|
-
|Development, testing
|
|
98
|
-
|
|
99
|
-
|6
|
|
100
|
-
|Fast
|
|
101
|
-
|Good
|
|
102
|
-
|**Default** - balanced performance
|
|
103
|
-
|
|
104
|
-
|9
|
|
105
|
-
|Slower
|
|
106
|
-
|Best
|
|
107
|
-
|Distribution, long-term storage
|
|
108
|
-
|===
|
|
109
|
-
|
|
110
|
-
.Level Comparison Example
|
|
111
|
-
[source,ruby]
|
|
112
|
-
----
|
|
113
|
-
[1, 6, 9].each do |level|
|
|
114
|
-
time = Benchmark.measure do
|
|
115
|
-
Omnizip.compress_file('data.txt', "output-#{level}.zip",
|
|
116
|
-
compression: :deflate,
|
|
117
|
-
level: level
|
|
118
|
-
)
|
|
119
|
-
end
|
|
120
|
-
|
|
121
|
-
size = File.size("output-#{level}.zip")
|
|
122
|
-
puts "Level #{level}: #{size} bytes in #{time.real.round(2)}s"
|
|
123
|
-
end
|
|
124
|
-
|
|
125
|
-
# Output:
|
|
126
|
-
# Level 1: 125 KB in 0.05s (fastest)
|
|
127
|
-
# Level 6: 98 KB in 0.12s (balanced)
|
|
128
|
-
# Level 9: 95 KB in 0.28s (best compression)
|
|
129
|
-
----
|
|
130
|
-
|
|
131
|
-
== Performance Characteristics
|
|
132
|
-
|
|
133
|
-
=== Speed Comparison
|
|
134
|
-
|
|
135
|
-
[cols="2,1,1,1"]
|
|
136
|
-
|===
|
|
137
|
-
|File Size |Compress Time |Decompress Time |Throughput
|
|
138
|
-
|
|
139
|
-
|1 MB
|
|
140
|
-
|0.1s
|
|
141
|
-
|0.05s
|
|
142
|
-
|~10 MB/s
|
|
143
|
-
|
|
144
|
-
|10 MB
|
|
145
|
-
|1s
|
|
146
|
-
|0.5s
|
|
147
|
-
|~10 MB/s
|
|
148
|
-
|
|
149
|
-
|100 MB
|
|
150
|
-
|10s
|
|
151
|
-
|5s
|
|
152
|
-
|~10 MB/s
|
|
153
|
-
|
|
154
|
-
|1 GB
|
|
155
|
-
|100s
|
|
156
|
-
|50s
|
|
157
|
-
|~10 MB/s
|
|
158
|
-
|===
|
|
159
|
-
|
|
160
|
-
*Note: Times for level 6 on modern hardware*
|
|
161
|
-
|
|
162
|
-
=== vs Other Algorithms
|
|
163
|
-
|
|
164
|
-
[cols="2,1,1,1,1"]
|
|
165
|
-
|===
|
|
166
|
-
|Algorithm |Compress |Decompress |Ratio |When to Choose
|
|
167
|
-
|
|
168
|
-
|**Deflate**
|
|
169
|
-
|Fast
|
|
170
|
-
|Very Fast
|
|
171
|
-
|Good
|
|
172
|
-
|Speed + compatibility
|
|
173
|
-
|
|
174
|
-
|LZMA2
|
|
175
|
-
|Slow
|
|
176
|
-
|Fast
|
|
177
|
-
|Excellent
|
|
178
|
-
|Better compression
|
|
179
|
-
|
|
180
|
-
|Zstandard
|
|
181
|
-
|Very Fast
|
|
182
|
-
|Very Fast
|
|
183
|
-
|Very Good
|
|
184
|
-
|Maximum speed
|
|
185
|
-
|
|
186
|
-
|PPMd
|
|
187
|
-
|Very Slow
|
|
188
|
-
|Slow
|
|
189
|
-
|Excellent
|
|
190
|
-
|Text files only
|
|
191
|
-
|===
|
|
192
|
-
|
|
193
|
-
== Advanced Options
|
|
194
|
-
|
|
195
|
-
=== Window Size
|
|
196
|
-
|
|
197
|
-
Deflate uses a 32 KB sliding window:
|
|
198
|
-
|
|
199
|
-
[source,ruby]
|
|
200
|
-
----
|
|
201
|
-
# Standard Deflate (32 KB window)
|
|
202
|
-
Omnizip.compress_file('file.txt', 'output.zip',
|
|
203
|
-
compression: :deflate,
|
|
204
|
-
window_size: 32768 # 32 KB (standard)
|
|
205
|
-
)
|
|
206
|
-
|
|
207
|
-
# For smaller files, smaller window may be faster
|
|
208
|
-
# Dictionary size is fixed at 32 KB for compatibility
|
|
209
|
-
----
|
|
210
|
-
|
|
211
|
-
=== Strategy Selection
|
|
212
|
-
|
|
213
|
-
Deflate supports different compression strategies:
|
|
214
|
-
|
|
215
|
-
[source,ruby]
|
|
216
|
-
----
|
|
217
|
-
# Default strategy (LZ77 + Huffman)
|
|
218
|
-
compression_strategy: :default # Best for most data
|
|
219
|
-
|
|
220
|
-
# Filtered (better for image data)
|
|
221
|
-
compression_strategy: :filtered
|
|
222
|
-
|
|
223
|
-
# Huffman only (faster, less compression)
|
|
224
|
-
compression_strategy: :huffman_only
|
|
225
|
-
|
|
226
|
-
# RLE (good for repetitive data)
|
|
227
|
-
compression_strategy: :rle
|
|
228
|
-
----
|
|
229
|
-
|
|
230
|
-
== Common Use Cases
|
|
231
|
-
|
|
232
|
-
=== Quick Backups
|
|
233
|
-
|
|
234
|
-
[source,ruby]
|
|
235
|
-
----
|
|
236
|
-
# Fast backup for frequent snapshots
|
|
237
|
-
Omnizip.compress_directory(
|
|
238
|
-
'/var/www/app/',
|
|
239
|
-
"backup_#{Date.today}.zip",
|
|
240
|
-
compression: :deflate,
|
|
241
|
-
level: 3 # Fast compression
|
|
242
|
-
)
|
|
243
|
-
----
|
|
244
|
-
|
|
245
|
-
=== Data Distribution
|
|
246
|
-
|
|
247
|
-
[source,ruby]
|
|
248
|
-
----
|
|
249
|
-
# Package for distribution (broad compatibility)
|
|
250
|
-
Omnizip::Archive.create('release-v1.0.zip', format: :zip) do |archive|
|
|
251
|
-
archive.add_directory('dist/')
|
|
252
|
-
end
|
|
253
|
-
----
|
|
254
|
-
|
|
255
|
-
=== Web Uploads
|
|
256
|
-
|
|
257
|
-
Process uploads quickly:
|
|
258
|
-
|
|
259
|
-
[source,ruby]
|
|
260
|
-
----
|
|
261
|
-
# Handle user uploads efficiently
|
|
262
|
-
uploaded_files.each do |file|
|
|
263
|
-
Omnizip::Archive.create("#{user_id}-upload.zip", format: :zip) do |archive|
|
|
264
|
-
archive.add_data(file.original_filename, file.read)
|
|
265
|
-
end
|
|
266
|
-
end
|
|
267
|
-
----
|
|
268
|
-
|
|
269
|
-
== Compatibility
|
|
270
|
-
|
|
271
|
-
=== Tool Support
|
|
272
|
-
|
|
273
|
-
Deflate is supported by all major archive tools:
|
|
274
|
-
|
|
275
|
-
* **7-Zip**: Full support (read/write)
|
|
276
|
-
* **WinZip**: Native support
|
|
277
|
-
* **WinRAR**: Full support
|
|
278
|
-
* **Info-ZIP**: Native algorithm
|
|
279
|
-
* **macOS Archive Utility**: Native support
|
|
280
|
-
* **Windows Explorer**: Native support
|
|
281
|
-
|
|
282
|
-
=== Format Support
|
|
283
|
-
|
|
284
|
-
Deflate works in multiple formats:
|
|
285
|
-
|
|
286
|
-
* **ZIP**: Primary compression method (method ID 8)
|
|
287
|
-
* **7z**: Available as alternative to LZMA
|
|
288
|
-
* **GZIP**: Single-file compression
|
|
289
|
-
* **PNG**: Image compression
|
|
290
|
-
|
|
291
|
-
== Technical Specifications
|
|
292
|
-
|
|
293
|
-
* **Algorithm**: LZ77 dictionary compression + Huffman coding
|
|
294
|
-
* **Window Size**: 32 KB (fixed)
|
|
295
|
-
* **Match Length**: 3-258 bytes
|
|
296
|
-
* **Based On**: Phil Katz's PKZip algorithm
|
|
297
|
-
* **RFC**: RFC 1951 (DEFLATE specification)
|
|
298
|
-
* **Implementation**: Uses Ruby's zlib library (native C)
|
|
299
|
-
|
|
300
|
-
== Optimization Tips
|
|
301
|
-
|
|
302
|
-
. **Use Level 6 for General Use**: Good balance of speed and compression
|
|
303
|
-
. **Level 1 for Temporary Files**: When speed matters most
|
|
304
|
-
. **Level 9 for Distribution**: When size matters more than time
|
|
305
|
-
. **Monitor Throughput**: Deflate should process 5-15 MB/s
|
|
306
|
-
. **Consider Deflate64**: For better compression (if compatible)
|
|
307
|
-
|
|
308
|
-
== See Also
|
|
309
|
-
|
|
310
|
-
* link:deflate64.html[Deflate64] - Enhanced Deflate with larger window
|
|
311
|
-
* link:zstandard.html[Zstandard] - Modern fast compression
|
|
312
|
-
* link:lzma2.html[LZMA2] - Better compression at cost of speed
|
|
313
|
-
* link:../../compatibility.html[Compatibility] - Deflate support across tools
|
|
@@ -1,190 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Compression Algorithms
|
|
3
|
-
nav_order: 10
|
|
4
|
-
parent: Guides
|
|
5
|
-
has_children: true
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
== Compression Algorithms Overview
|
|
9
|
-
|
|
10
|
-
Omnizip supports 6 major compression algorithms, each optimized for different use cases. Choose the right algorithm based on your needs for compression ratio, speed, and compatibility.
|
|
11
|
-
|
|
12
|
-
== Algorithm Comparison
|
|
13
|
-
|
|
14
|
-
[cols="1,1,1,1,2"]
|
|
15
|
-
|===
|
|
16
|
-
|Algorithm |Ratio |Speed |Decompression |Best For
|
|
17
|
-
|
|
18
|
-
|link:lzma.html[LZMA]
|
|
19
|
-
|Excellent
|
|
20
|
-
|Slow
|
|
21
|
-
|Fast
|
|
22
|
-
|General purpose, long-term storage
|
|
23
|
-
|
|
24
|
-
|link:lzma2.html[LZMA2]
|
|
25
|
-
|Excellent
|
|
26
|
-
|Slow
|
|
27
|
-
|Fast
|
|
28
|
-
|Multi-threading, modern archives
|
|
29
|
-
|
|
30
|
-
|link:bzip2.html[BZip2]
|
|
31
|
-
|Very Good
|
|
32
|
-
|Medium
|
|
33
|
-
|Medium
|
|
34
|
-
|Text files, source code
|
|
35
|
-
|
|
36
|
-
|link:ppmd.html[PPMd]
|
|
37
|
-
|Excellent
|
|
38
|
-
|Very Slow
|
|
39
|
-
|Slow
|
|
40
|
-
|Text, documents, natural language
|
|
41
|
-
|
|
42
|
-
|link:deflate.html[Deflate]
|
|
43
|
-
|Good
|
|
44
|
-
|Fast
|
|
45
|
-
|Very Fast
|
|
46
|
-
|Cross-platform compatibility
|
|
47
|
-
|
|
48
|
-
|link:zstandard.html[Zstandard]
|
|
49
|
-
|Very Good
|
|
50
|
-
|Very Fast
|
|
51
|
-
|Very Fast
|
|
52
|
-
|Speed-sensitive applications
|
|
53
|
-
|===
|
|
54
|
-
|
|
55
|
-
== Choosing an Algorithm
|
|
56
|
-
|
|
57
|
-
=== By Priority
|
|
58
|
-
|
|
59
|
-
[cols="1,3"]
|
|
60
|
-
|===
|
|
61
|
-
|Priority |Recommended Algorithm
|
|
62
|
-
|
|
63
|
-
|Maximum Compression
|
|
64
|
-
|LZMA2 (level 9) or LZMA (level 9)
|
|
65
|
-
|
|
66
|
-
|Best for Text
|
|
67
|
-
|PPMd (for text-heavy content)
|
|
68
|
-
|
|
69
|
-
|Speed Critical
|
|
70
|
-
|Zstandard (level 3) or Deflate (level 3)
|
|
71
|
-
|
|
72
|
-
|Compatibility
|
|
73
|
-
|Deflate (universally supported)
|
|
74
|
-
|
|
75
|
-
|Multi-core Systems
|
|
76
|
-
|LZMA2 (parallel processing)
|
|
77
|
-
|
|
78
|
-
|Balanced
|
|
79
|
-
|LZMA2 (level 5-6) or Zstandard (level 5)
|
|
80
|
-
|===
|
|
81
|
-
|
|
82
|
-
=== By File Type
|
|
83
|
-
|
|
84
|
-
[cols="1,2"]
|
|
85
|
-
|===
|
|
86
|
-
|File Type |Best Algorithm
|
|
87
|
-
|
|
88
|
-
|Source Code
|
|
89
|
-
|LZMA2 or PPMd
|
|
90
|
-
|
|
91
|
-
|Text Documents
|
|
92
|
-
|PPMd or BZip2
|
|
93
|
-
|
|
94
|
-
|Binary Executables
|
|
95
|
-
|LZMA2 with BCJ filter
|
|
96
|
-
|
|
97
|
-
|Images (uncompressed)
|
|
98
|
-
|Zstandard or LZMA2
|
|
99
|
-
|
|
100
|
-
|Already Compressed
|
|
101
|
-
|Deflate (fast) or store mode
|
|
102
|
-
|
|
103
|
-
|Mixed Content
|
|
104
|
-
|LZMA2 with solid archive
|
|
105
|
-
|===
|
|
106
|
-
|
|
107
|
-
== Compression Levels
|
|
108
|
-
|
|
109
|
-
Most algorithms support compression levels 1-9:
|
|
110
|
-
|
|
111
|
-
[cols="1,2,2,2"]
|
|
112
|
-
|===
|
|
113
|
-
|Level |Speed |Ratio |Best For
|
|
114
|
-
|
|
115
|
-
|1-2
|
|
116
|
-
|Very Fast
|
|
117
|
-
|Basic
|
|
118
|
-
|Quick archiving, testing
|
|
119
|
-
|
|
120
|
-
|3-4
|
|
121
|
-
|Fast
|
|
122
|
-
|Good
|
|
123
|
-
|Development, temporary files
|
|
124
|
-
|
|
125
|
-
|5-6
|
|
126
|
-
|Medium
|
|
127
|
-
|Very Good
|
|
128
|
-
|**Default** - balanced performance
|
|
129
|
-
|
|
130
|
-
|7-8
|
|
131
|
-
|Slow
|
|
132
|
-
|Excellent
|
|
133
|
-
|Distribution, backups
|
|
134
|
-
|
|
135
|
-
|9
|
|
136
|
-
|Very Slow
|
|
137
|
-
|Best
|
|
138
|
-
|Archival, long-term storage
|
|
139
|
-
|===
|
|
140
|
-
|
|
141
|
-
== Format Support
|
|
142
|
-
|
|
143
|
-
Not all algorithms are supported in all formats:
|
|
144
|
-
|
|
145
|
-
[cols="1,1,1,1,1"]
|
|
146
|
-
|===
|
|
147
|
-
|Algorithm |7z |ZIP |RAR |XZ
|
|
148
|
-
|
|
149
|
-
|LZMA
|
|
150
|
-
|✅
|
|
151
|
-
|❌
|
|
152
|
-
|✅
|
|
153
|
-
|✅
|
|
154
|
-
|
|
155
|
-
|LZMA2
|
|
156
|
-
|✅
|
|
157
|
-
|❌
|
|
158
|
-
|✅
|
|
159
|
-
|✅
|
|
160
|
-
|
|
161
|
-
|BZip2
|
|
162
|
-
|✅
|
|
163
|
-
|❌
|
|
164
|
-
|❌
|
|
165
|
-
|❌
|
|
166
|
-
|
|
167
|
-
|PPMd
|
|
168
|
-
|✅
|
|
169
|
-
|✅
|
|
170
|
-
|❌
|
|
171
|
-
|❌
|
|
172
|
-
|
|
173
|
-
|Deflate
|
|
174
|
-
|✅
|
|
175
|
-
|✅
|
|
176
|
-
|❌
|
|
177
|
-
|❌
|
|
178
|
-
|
|
179
|
-
|Zstandard
|
|
180
|
-
|✅
|
|
181
|
-
|❌
|
|
182
|
-
|❌
|
|
183
|
-
|❌
|
|
184
|
-
|===
|
|
185
|
-
|
|
186
|
-
== See Also
|
|
187
|
-
|
|
188
|
-
* link:../archive-formats/[Archive Formats] - Choose the right container format
|
|
189
|
-
* link:../advanced-features/parallel-processing.html[Parallel Processing] - Speed up compression
|
|
190
|
-
* link:../../compatibility.html[Compatibility] - Tool and format support matrix
|