为什么 Brotli 命令行最多只允许 9 级?
Why does Brotli Command Line only allow up to level 9?
根据 Brotli 的主要GitHub page,有 11 个级别的动态压缩。
Sets on-the-fly compression Brotli quality (compression) level. Acceptable values are in the range from 0 to 11.
但是项目another page显示命令行只支持9级压缩
compression level (0-9); bigger values cause denser, but slower compression
我测试了命令行中的级别 9 是否与级别 11 动态压缩相同。然而事实并非如此。
有什么方法可以使用 11 级压缩的命令行来压缩文件吗?
This issue 最好的解释是:
The default quality is mentioned:
-Z, --best use best compression level (11) (default)
I think the single dash (-0 to -9) quality parameters are just for convenience, the problem is that by convention a single dash parameter can only by followed by a single character, so -10 or -11 would break the convention.
根据 Brotli 的主要GitHub page,有 11 个级别的动态压缩。
Sets on-the-fly compression Brotli quality (compression) level. Acceptable values are in the range from 0 to 11.
但是项目another page显示命令行只支持9级压缩
compression level (0-9); bigger values cause denser, but slower compression
我测试了命令行中的级别 9 是否与级别 11 动态压缩相同。然而事实并非如此。
有什么方法可以使用 11 级压缩的命令行来压缩文件吗?
This issue 最好的解释是:
The default quality is mentioned:
-Z, --best use best compression level (11) (default)
I think the single dash (-0 to -9) quality parameters are just for convenience, the problem is that by convention a single dash parameter can only by followed by a single character, so -10 or -11 would break the convention.