Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Pure implementation of the digest package
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src/Data/Digest/Pure
test
.travis.yml
LICENSE
README.md
Setup.lhs
digest-pure.cabal

README.md

digest-pure

Introduction

This is a pure Haskell implementation of the digest package.

Unit test

  • For random ByteStrings: does the output of digest-pure match that of digest?

Benchmarks

Benchmarked on a Mac Mini 2010, 2.4GHz, using Data.ByteString.Lazy, best out of five.

adler32

$ time ./adler32 data 
165386662

real  0m0.447s
user  0m0.150s
sys   0m0.295s

adler32-pure

$ time ./adler32-pure data
165386662

real  0m2.224s
user  0m1.924s
sys   0m0.298s
Something went wrong with that request. Please try again.