random lz4f clarifications
authorYann Collet <cyan@fb.com>
Wed, 2 May 2018 23:05:42 +0000 (16:05 -0700)
committerYann Collet <cyan@fb.com>
Wed, 2 May 2018 23:05:42 +0000 (16:05 -0700)
commitc25eb1666654c378a6f9e74c9975181cb2767a2a
tree2acac6d8a5f25b2b06470c0ce6f2b247418411df
parent858d12e3e1ac072fb0cec188a55bdf1f106fb2da
random lz4f clarifications

the initial intention was to update lz4f ring buffer strategy,
but lz4f doesn't use ring buffer.
Instead, it uses the destination buffer as much as possible,
and merely copies just what's required to preserve history
into its own buffer, at the end.
Pretty efficient.

This patch just clarifies a few comments and add some assert().
It's built on top of #528.

It also updates doc.
doc/lz4_manual.html
lib/lz4frame.c