Add a simple look-ahead to the fast encoder.
It checks whether the next match is longer than the current match.
It now takes about 150% of the time though.