When difference is found, the rest of the buffer can be skipped.

Speed greatly improved when dealing with large `Buffer`s.