Extract combined match/score operation into new fn
Extract combined match/score operation into new fn

Makes it easier to share this code between the normal and benchmark
modes.

stewart/rff,stewart/rff