gpt4 book ai didi

nginx - 为什么 Brotli 命令行最多只允许 9 级?

转载 作者:行者123 更新时间:2023-12-04 01:38:21 24 4
gpt4 key购买 nike

根据主GitHub page对于 Brotli,有 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.

关于nginx - 为什么 Brotli 命令行最多只允许 9 级?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58566284/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com