Use liftIO instead of lift
changed if statement to use when
About 2x faster with prefix checking. The size of the prefix check is also user tunable.
Minor refactoring
Working parallel version. Runs slower than the sequential one.
use withFile instead of openFile
Removed unnecessary whitespace
Added strictness to atomically in possibleSimilarFiles
Merged parallel into master
Using unsafePerformIO inside the foldM doesn't make it faster.
Removed parallelism and filter by filesize first. Fastest so far.
MD5 is faster and is good enough.
Unpacked bytestring and reduced scope of sufficientlyLarge and getHash.
Added additional check for the first 64 bytes of file and refactored a little more.