« Previous | Next » 

Revision f6036c7f

IDf6036c7fc9171b02622b28c798609e24918ccc31
Parent 21314ede
Child 6919b67a

Added by hans over 3 years ago

add some buffering to speed up the hashing when making a repo

Reading from disk is usually best in 8k blocks, running the hash wants much
bigger chunks at a time:

https://stackoverflow.com/questions/1741545/java-calculate-sha-256-hash-of-large-file-efficiently?answertab=votes#tab-top

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences