szetszwo commented on pull request #296: URL: https://github.com/apache/incubator-ratis/pull/296#issuecomment-732937162
@runzhiwang , good observation. I guess it depends on the ByteBuffer type in the source. If it is direct buffer, it will use transferToDirectly. The test uses FileInputStream which probably is not using direct buffer. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
