Places we should use the new ByteBuffer intrinsics
Ulf.Zibis at CoSoCo.de
Thu Apr 16 21:57:11 UTC 2015
Am 16.04.2015 um 15:25 schrieb Paul Sandoz:
> They look like good candidates. I did a quick search in the JDK src code (usages of getByte/Short/Int/Long) and could not find any others.
I guess there are plenty of candidates in coders of sun.nio.cs.
Additionally: For some coders it may be reasonable to have get3Bytes() and put3Bytes() methods.
At the end it wouldn't make me wonder if we could get rid of the "if (src.hasArray())"-fork.
More information about the core-libs-dev