]> git.ipfire.org Git - thirdparty/zstd.git/commit
simplified optimal parser
authorYann Collet <cyan@fb.com>
Tue, 29 May 2018 21:07:25 +0000 (14:07 -0700)
committerYann Collet <cyan@fb.com>
Tue, 29 May 2018 21:07:25 +0000 (14:07 -0700)
commit463a0fe38b4a49f9c54010221dc82e4074682b36
tree05dec2d8f8b89b8c9426a36d1fb614d3244c80d5
parentbb6eaf6495a06a57f5a2731062a25ddf4bbec348
simplified optimal parser

removed "cached" structure.
prices are now saved in the optimal table.

Primarily done for simplification.
Might improve speed by a little.
But actually, and surprisingly, also improves ratio in some circumstances.
lib/common/zstd_common.c
lib/common/zstd_internal.h
lib/compress/zstd_compress_internal.h
lib/compress/zstd_opt.c
lib/legacy/zstd_v04.c