无损压缩算法 LZ4

码农软件 · 软件分类 · 压缩算法 · 2019-08-07 15:11:24

软件介绍

LZ4 是一种无损压缩算法,压缩速度为每核心 400 MB/s(0.16 字节/周期)。

它拥有速度极快的解码器,速度为每核心多 GB/s(0.71 字节/周期)。此外,一种称为 LZ4_HC 的高压缩率衍生产品可用于交易可定制的 CPU 时间以实现高压缩率。

一些基准测试

该基准测试使用了 lzbench,在 64 位 Linux 系统(Debian 4.15.17-1)上使用 GCC v7.3.0 编译。参考系统使用了 Core i7-6700K CPU @ 4.0GHz。基准评估参考西里西亚语料库在单线程模式下的压缩。

CompressorRatioCompressionDecompression
memcpy1.00013100 MB/s13100 MB/s
LZ4 default (v1.8.2)2.101730 MB/s3900 MB/s
LZO 2.092.108630 MB/s800 MB/s
QuickLZ 1.5.02.238530 MB/s720 MB/s
Snappy 1.1.42.091525 MB/s1750 MB/s
Zstandard 1.3.4 -12.877470 MB/s1380 MB/s
LZF v3.62.073380 MB/s840 MB/s
zlib deflate 1.2.11 -12.730100 MB/s380 MB/s
LZ4 HC -9 (v1.8.2)2.72140 MB/s3920 MB/s
zlib deflate 1.2.11 -63.09934 MB/s410 MB/s

LZ4 核心库使用 BSD 开源许可证。除非另有明确说明,否则所有其他文件均使用 GPLv2 开源许可证。

本文地址:https://codercto.com/soft/d/11849.html

Graph Algorithms

Graph Algorithms

Shimon Even / Cambridge University Press / 2011-9-19 / USD 32.99

Shimon Even's Graph Algorithms, published in 1979, was a seminal introductory book on algorithms read by everyone engaged in the field. This thoroughly revised second edition, with a foreword by Richa......一起来看看 《Graph Algorithms》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

随机密码生成器
随机密码生成器

多种字符组合密码