]> git.ipfire.org Git - thirdparty/zstd.git/commit
lib/compress: created ZSTD_LLcode() and ZSTD_MLcode()
authorYann Collet <cyan@fb.com>
Wed, 8 Nov 2017 20:33:06 +0000 (12:33 -0800)
committerYann Collet <cyan@fb.com>
Wed, 8 Nov 2017 20:43:05 +0000 (12:43 -0800)
commit100d8ad6be8ecfe0ec1dc31f1567887e18c891cc
treeca7961feb4fa20fab9ba026accb55d527a729a72
parent5aa0352742ca9ad33b8aba09cb95d6574d4f959d
lib/compress: created ZSTD_LLcode() and ZSTD_MLcode()

transform length into code.
Since transformation is needed in several places throughout the code,
better write the logic in one place.
lib/compress/zstd_compress.c
lib/compress/zstd_compress_internal.h
lib/compress/zstd_opt.c