On Wed, 25 Jan 2023 16:39:04 GMT, Per Minborg <pminb...@openjdk.org> wrote:
> This PR suggests improving performance by using the newly introduced class > `jdk.internal.util.ByteArray` to improve packing/unpacking operations. > > The PR also proposes adding a `ByteArrayLittleEndian` class for support for > little endian packing/unpacking. Can the benchmark be moved to the JMH framework; it deals with the setup and measurements in a more predictable way. See test/micro/org/openjdk/bench/jajva/nio/... for examples. ------------- PR: https://git.openjdk.org/jdk/pull/12204