We never checked in a microbenchmark for
JDK-6428387: array clone() much slower than Arrays.copyOf
but now that we have jmh support, we should.
We can reaffirm that using arraycopy is much faster than the equivalent loop.
but now that we have jmh support, we should.
We can reaffirm that using arraycopy is much faster than the equivalent loop.
- relates to
-
JDK-6428387 array clone() much slower than Arrays.copyOf
- Resolved