Nicholas Nethercote bb02cc47c4 Move finish out of the Encoder trait.
This simplifies things, but requires making `CacheEncoder` non-generic.

(This was previously merged as commit 4 in  and then was reverted
in  because it caused a perf regression.)
2022-06-16 16:20:32 +10:00
..