无损压缩算法 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://www.codercto.com/soft/d/11849.html

Python Algorithms

Python Algorithms

Magnus Lie Hetland / Apress / 2010-11-24 / USD 49.99

Python Algorithms explains the Python approach to algorithm analysis and design. Written by Magnus Lie Hetland, author of Beginning Python, this book is sharply focused on classical algorithms, but it......一起来看看 《Python Algorithms》 这本书的介绍吧!

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具