You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/03/21 21:41:52 UTC

[GitHub] [beam] lukecwik removed a comment on pull request #17134: [BEAM-14134] Optimize memory allocations for various core coders

lukecwik removed a comment on pull request #17134:
URL: https://github.com/apache/beam/pull/17134#issuecomment-1074447580


   I would suggest sticking with `read/writeLongViaLocalBuffer` since read/write calls can depend on many layers of I/O before hitting the lowest layer so that allows us to pushdown the number of bytes we want to read/write as close to the layer doing I/O. Benchmarking using `ByteArrayInput/OutputStream` will give very skewed results.


-- 
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: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org