herd: petty optimisation of compare over values