You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by GitBox <gi...@apache.org> on 2019/11/30 02:36:14 UTC

[GitHub] [commons-codec] behrangsa opened a new pull request #31: Added non-blocking File digest methods

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


With regards,
Apache Git Services