RFR(JDK12/NIO) 8202285: (fs) Add a method to Files for comparing file contents

Brian Burkhalter brian.burkhalter at oracle.com
Wed Sep 19 20:53:56 UTC 2018


On Sep 19, 2018, at 1:52 PM, Brian Burkhalter <brian.burkhalter at oracle.com> wrote:

>> For the buffered case, could there be any performance advantage to using direct buffers with FileChannel and comparing running checksums of the two sources?
> 
> Don’t think this would work however as two files with differing content could conceivable have the same checksum however likely that might be.


s/conceivable /conceivably/.
s/likely/unlikely/.

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20180919/193af2f0/attachment.html>


More information about the nio-dev mailing list