WZIP与WLZ4:具有匹配长度相关滑动窗口的LZ77编解码器
WZIP and WLZ4: LZ77 Codecs with Match-Length-Dependent Sliding Windows
AI总结:
该研究提出两种匹配长度相关滑动窗口的LZ77编解码器WLZ4与WZIP,在Silesia等数据集上实现优于LZ4HC、Zstandard 2的压缩率,WZIP解码速度接近Zstandard。
摘要:
LZ77编解码器将每个匹配限制在一个滑动窗口内,以廉价的偏移量换取短匹配,同时以可及性换取长匹配。匹配长度相关窗口优化了这种权衡:每个匹配长度都有其自身的窗口,解码器从解码后的长度推断偏移范围。我们提出两种此类编解码器:WLZ4,一种字节对齐的LZ4类格式,带有单字节和标记偏移量;WZIP,一种熵编码的Zstandard类格式。每个块以其解码后的长度开头,WZIP由此推导其最宽窗口,解码器据此调整输出大小。LZ4块可能会使不可压缩输入的大小增加0.4%;WLZ4最多增加15字节,WZIP增加2字节。我们描述了这些格式、线程化匹配查找器、解码器和解析器。在Silesia数据集上,WLZ4的压缩率比LZ4HC高16%,解码速度更慢;WZIP的压缩率超过Zstandard 2,其可信解码器的运行速度为Zstandard的91%(已验证为87%;在enwik9上,速度大致相当)。
英文摘要:
An LZ77 codec bounds every match by one sliding window, trading cheap offsets for short matches against reach for long ones. Match-length-dependent windows refine this trade-off: each match length has its own window, and the decoder infers the offset range from the decoded length. We present two such codecs: WLZ4, a byte-aligned LZ4-class format with one-byte and flagged offsets, and WZIP, an entropy-coded Zstandard-class format. Each block begins with its decoded length, from which WZIP derives its widest window and a decoder sizes its output. LZ4 blocks may expand incompressible input by 0.4%; WLZ4 adds at most 15 bytes, WZIP 2. We describe the formats, threaded match finders, decoders and parser. On Silesia, WLZ4 reaches a ratio up to 16% above LZ4HC's, decoding more slowly, and WZIP exceeds Zstandard 22's ratio while its trusted decoder runs at 91% of Zstandard's speed (87% checked; on enwik9, about as fast).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。