behrangsa opened a new pull request #31: Added non-blocking File digest methods
URL: https://github.com/apache/commons-codec/pull/31
 
 
   Added two methods:
   
   * `nonblockingDigest(final MessageDigest messageDigest, final File data)`
   * `nonblockingDigest(final MessageDigest messageDigest, final 
RandomAccessFile data)`
   
   For using NIO to compute the digest of files.
   
   Performance-wise there's almost no improvements offered by these new NIO 
based methods, but being non-blocking they could potentially use fewer 
resources and provide
   better throughput in highly multi-threaded scenarios (needs to be 
confirmed/rejected by IO/NIO experts).

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


With regards,
Apache Git Services

Reply via email to