fullbench: added test scenario LZ4F_decompress_followHint
authorYann Collet <cyan@fb.com>
Fri, 31 May 2019 00:29:51 +0000 (17:29 -0700)
committerYann Collet <cyan@fb.com>
Fri, 31 May 2019 00:29:51 +0000 (17:29 -0700)
commit89c97d5ea682ba7e2481d610a8b7a2b057a80391
tree3eddac41312a8923f1ded10d5abfc170b605af4b
parentab2248b90a86c5af0b64f920810d519bd237c5c4
fullbench: added test scenario LZ4F_decompress_followHint

This emulates a streaming scenario,
where the caller follows rigorously the srcSize hints
provided as return value of LZ4F_decompress().

This is useful to show the issue in #714,
where data is uselessly copied in a tmp buffer first.
tests/fullbench.c