You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ratis.apache.org by GitBox <gi...@apache.org> on 2020/11/24 12:15:15 UTC

[GitHub] [incubator-ratis] szetszwo commented on pull request #296: RATIS-1175. DataStreamOutput should support FileChannel#transferTo.

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:
users@infra.apache.org