srowen commented on pull request #35622: URL: https://github.com/apache/spark/pull/35622#issuecomment-1049353959
I don't believe it was benchmarked, but copying chunks of bytes at a time rather than one at a time has to be faster - a tiny bit in the case the input stream is buffered anyway, a lot in the case that it isn't -- 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]
