hililiwei commented on code in PR #6476: URL: https://github.com/apache/iceberg/pull/6476#discussion_r1056343010
########## core/src/jmh/java/org/apache/iceberg/util/ZOrderByteUtilsBenchmark.java: ########## @@ -75,9 +75,8 @@ public void interleaveValuesFourColumns(Blackhole blackhole) { int outputSize = ZOrderByteUtils.PRIMITIVE_BUFFER_SIZE * 4; ByteBuffer outputBuffer = ByteBuffer.allocate(outputSize); - for (int i = 0; i < fourColumnInput.length; i++) { - byte[] interleavedBytes = - ZOrderByteUtils.interleaveBits(fourColumnInput[i], outputSize, outputBuffer); + for (byte[][] bytes : fourColumnInput) { Review Comment: bytes -> columnsBinary ########## core/src/jmh/java/org/apache/iceberg/util/ZOrderByteUtilsBenchmark.java: ########## @@ -114,9 +113,8 @@ public void interleaveValuesFourColumns8ByteOutput(Blackhole blackhole) { int outputSize = 8; ByteBuffer outputBuffer = ByteBuffer.allocate(outputSize); - for (int i = 0; i < fourColumnInput.length; i++) { - byte[] interleavedBytes = - ZOrderByteUtils.interleaveBits(fourColumnInput[i], outputSize, outputBuffer); + for (byte[][] bytes : fourColumnInput) { Review Comment: bytes -> columnsBinary -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org