On 03/13/2014 11:57 AM, Paul Sandoz wrote: > Now i am in two minds to whether to add ByteBuffer.compareUnsigned or add > Arrays.compareUnsigned. > > An explosion of methods on Arrays for all types (plus to/from versions) would > be annoying.
Surely it's a no brainer? All we have to do is add the intrinsics for ByteBuffers, then we get fast ByteBuffers and fast array comparisons too. I don't see the problem. Andrew.