Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/cassandra/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Compression 非字节对齐数据的gzip压缩_Compression_Gzip_Zlib_Lzw_Lz77 - Fatal编程技术网

Compression 非字节对齐数据的gzip压缩

Compression 非字节对齐数据的gzip压缩,compression,gzip,zlib,lzw,lz77,Compression,Gzip,Zlib,Lzw,Lz77,钻头填料是否对gzip的性能有害? 假设我有7位值,并按以下方式打包: Byte1 Byte2 Byte3 Byte4 [aaaaaaab][bbbbbbcc][cccccddd][dddd... 据我所知,LZ压缩是基于字节的。 7位中的任何重复模式都将被遮挡 建议为字节对齐添加一个额外的位来帮助LZ吗 Byte1 Byte2 Byte3 Byte4 [aaaaaaa0][bbbbbbb0][ccccccc0][ddddddd0][... 文

钻头填料是否对gzip的性能有害? 假设我有7位值,并按以下方式打包:

Byte1     Byte2     Byte3     Byte4
[aaaaaaab][bbbbbbcc][cccccddd][dddd...
据我所知,LZ压缩是基于字节的。 7位中的任何重复模式都将被遮挡

建议为字节对齐添加一个额外的位来帮助LZ吗

Byte1     Byte2     Byte3     Byte4
[aaaaaaa0][bbbbbbb0][ccccccc0][ddddddd0][...

文献中有关于这方面的结果吗?

有可能,是的。如果你的a,b,c,d的频率有重复模式或统计偏差,那么最好填充零位

知道的方法就是简单地测试它