Comments (5)
@GitCourser
Is it the same with standard 7-zip? 7-zip-zstd adds the necessary functions but does not change 7-zip itself.
That's what I think. I could be wrong.
ps Pardon my English. I don't know it.
from 7-zip-zstd.
I assume it was multithreaded compression, was not it?
The compression ratio may change from time to time if method uses multiple threads for compression (default by LZMA2 x9).
You can not only get different compression ratio for different number of threads, but also different compression ratio for same number of threads...
And it'd additionally depend on input and another circumstances (like faster read by cached IO, etc), since buffers handling could deviate by threaded processing.
So your tests are inconclusive if number of threads is larger than 1.
from 7-zip-zstd.
@sebres
I have tested it several times. For the same batch of files, one or several, no matter how many times it is compressed, as long as the same method is used, the compressed size will be the same.
When using LZMA2 [std] Level 9
, right-click Add to archive...
or Add to <Archive>.7z
, and you will get compressed packages of the same size.
But when using LZMA2, Fast [std] Level 9
, right-clicking Add to archive...
(after calling up the dialog box) will definitely result in a higher compression rate than directly using Add to <Archive>.7z
. Smaller file size
from 7-zip-zstd.
I guess I understand what you meant now - just not follow exact scenario (of unexpected case) - your description is a bit confusing...
Do you mean this:
- right-clicking
Add to archive...
- select "LZMA2, Fast [std] Level 9" and do compress
- archive is N bytes
- right-clicking
Add to "Archive.7z"
(to compress directly without dialog) - archive is N+X bytes (larger than with dialog)
Then I can confirm it.
Indeed, it looks like some of the parameters (from dialog) are not selected if compressing without dialog.
Either not stored or possibly not loaded if compression starts without dialog. This is what 7z saves to the registry:
[HKEY_CURRENT_USER\SOFTWARE\7-Zip-Zstandard\Compression\Options\7z]
"Method"="FLZMA2"
"Level"=dword:00000009
"Dictionary"=dword:08000000
(some of the parameters may be not stored if they are default).
But as @g0blin-NN said - this can be an issue of original 7z.
Although I already saw some stuff that definitely stored in original 7z and never stored in 7z-zstd - for instance archive history of 7z-zstd never contains any path (also registry ArcHistory seems to be always empty).
from 7-zip-zstd.
@sebres
Yes, thatβs what it means, but I think this is a bug, because the saved parameters will be used when using LZMA2
(to compress directly without dialog), but not when using LZMA2, Fast
from 7-zip-zstd.
Related Issues (20)
- sfx exe HOT 5
- No Level 0 for 7z and zip format HOT 3
- Default program path for 7z-zs is incorrect after switching from 7z HOT 2
- Adding SM3 hashing method and whirlpool hashing method HOT 15
- Adding Support for installer HOT 3
- Please release 23.01 to fix security vulnerability HOT 13
- Help with making a JNI library
- [Bug] Release 3: error "Cannot find archive name" HOT 1
- operator= is a private member of AString HOT 2
- Brotli 1.1.0 available HOT 1
- `C:\Program Files\7-Zip-Zstandard` is not added to PATH HOT 5
- [Windows] Drag-and-drop extraction first extracts to system TEMP folder before copying to destination? HOT 1
- Improve drag and drop efficiency HOT 1
- 7 zip 24 beta HOT 16
- AMD GPU Brotli-G 1.0 SDK available for use of fast amd gpu HOT 1
- FR: introduce the adapt parameter HOT 1
- Brotli .br archive format created by brotli.exe not supported? - Win8.1 HOT 2
- Request for `.sfs` File Extension Support
- zip archive split differences WinRar vs 7z HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 7-zip-zstd.