> On 6 Oct 2015, at 10:58, Chris Hegarty <[email protected]> wrote: >>> It was not immediately obvious to me that the common prefix can be 0. >>> Should this be called out specifically? >>> >> >> When reading the documentation of compare or mismatch or both? > > mismatch. But maybe this is just me. >
I could add something following the paragraph defining the common prefix:
Note that a common prefix length of {@code 0} indicates that the first
elements from each array mismatch.
Paul.
