changed strategy : opt[] path is complete after each match
authorYann Collet <cyan@fb.com>
Thu, 2 Nov 2017 20:44:57 +0000 (13:44 -0700)
committerYann Collet <cyan@fb.com>
Thu, 2 Nov 2017 20:44:57 +0000 (13:44 -0700)
commit0ff4df1b941145d5b728b4b4a936391537b8ea11
treed0ce5b54e4bb0d3d6929c2b4cd5ff750102e0115
parent15b0d229c1d4a040d63f814c31a2a025145f29c7
changed strategy : opt[] path is complete after each match

previous strategy would leave a few "bad choices"
on the ground they would be fixed later,
but that requires passing through each position to make the fix
and cannot give the end position of the last useful match.
lib/lz4hc.c
lib/lz4opt.h