unknownbrackets / maxcso

Fast cso compressor
ISC License
390 stars 23 forks source link

add more detailed output , when compression is done #74

Open crashGG opened 1 year ago

crashGG commented 1 year ago

When compression is complete, the current output only has the compression ratio. Hopefully, more details can be added to the compression results, such as what percentage of blocks use which compression METHOD. For example: zlib 1% ,7zdeflate,70%,libdeflate,19%,uncompress 10% ......

When the user finds that the proportion of a certain compression METHOD is always small, it means that the METHOD is not optimized enough, then the compression behavior in the future will be able to use parameters to eliminate this METHOD , thereby greatly saving the compression time.(I always suspect that zlib is too old and a small percentage, but there is no good evidence.)