Improving ByteVector::find() and rfind()