简体   繁体   English

我们可以将bzip2块大小减小到小于100KB吗?

[英]Can we reduce bzip2 block size lower than 100KB?

Currently bzip2 uses the smallest block size for compression and decompression of 100KB (parameter -1). 当前,bzip2使用最小的块大小进行100KB的压缩和解压缩(参数-1)。 Can we reduce the block size easily in bzip, without deteriorating the performance much? 我们可以轻松地在bzip中减小块大小,而又不会大大降低性能吗?

Is there any other implementation of bzip2 which does the same? 还有bzip2的其他实现吗?

In this case I'd use the parallel version of bzip2 . 在这种情况下,我将使用bzip2的并行版本。 It's compatible with the original bzip2 and it really does speed things up tremendously. 它与原始的bzip2兼容,并且确实可以极大地加快速度。

http://compression.ca/pbzip2/

You can then change the block size and you performance is still likely to beat the non parallel bzip2 . 然后,您可以更改块大小,并且性能仍然有可能击败非并行bzip2

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM