mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-06 11:35:45 +00:00
adjust README to indicate zstd runs in parallel, remove leftover code comment
This commit is contained in:
parent
f0b4702960
commit
7886536e48
@ -113,7 +113,7 @@ Output:
|
||||
|
||||
| Format | `.tar` | `.zip` | `7z` | `.gz` | `.xz`, `.lzma` | `.bz`, `.bz2` | `.lz4` | `.sz` (Snappy) | `.zst` | `.rar` |
|
||||
|:---------:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
|
||||
| Supported | ✓ | ✓¹ | ✓¹ | ✓² | ✓ | ✓ | ✓ | ✓² | ✓ | ✓³ |
|
||||
| Supported | ✓ | ✓¹ | ✓¹ | ✓² | ✓ | ✓ | ✓ | ✓² | ✓² | ✓³ |
|
||||
|
||||
✓: Supports compression and decompression.
|
||||
|
||||
|
@ -77,9 +77,6 @@ pub fn compress_files(
|
||||
)?;
|
||||
// Use all available PHYSICAL cores for compression
|
||||
zstd_encoder.multithread(num_cpus::get_physical() as u32)?;
|
||||
// Safety:
|
||||
// Encoder::new() can only fail if `level` is invalid, but the level
|
||||
// is `clamp`ed and therefore guaranteed to be valid
|
||||
Box::new(zstd_encoder.auto_finish())
|
||||
}
|
||||
Tar | Zip | Rar | SevenZip => unreachable!(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user