pan3793 commented on PR #3227:
URL: https://github.com/apache/parquet-java/pull/3227#issuecomment-2934196526

   I ran the benchmark using different JDKs, it looks like your assertion is 
almost true in the lower versions of JDK (I tested 8, 17), but in new 
versions(I tested 21), long-stream is a little bit faster than long-iterator. 
So I believe that new JDKs have some optimization for cases you mentioned, if 
so, we should keep the code as-is for future-proofing.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to