decompress_generic: Unroll loops a bit more
authorDave Watson <davejwatson@fb.com>
Sat, 26 Jan 2019 00:19:05 +0000 (16:19 -0800)
committerDave Watson <davejwatson@fb.com>
Fri, 8 Feb 2019 21:57:23 +0000 (13:57 -0800)
commitfaac110e20bef7c5715c068294d1a6950450fad6
tree21eef7a5e6005c02c9298817c5efcb324e8401ad
parent1fbaf843066caec21489d178fc348dbe62939a90
decompress_generic: Unroll loops a bit more

Generally we want our wildcopy loops to look like the
memcpy loops from our libc, but without the final byte copy checks.
We can unroll a bit to make long copies even faster.

The only catch is that this affects the value of FASTLOOP_SAFE_DISTANCE.
lib/lz4.c