Optimize Buf.eqv a bit.