Skip to content
This repository has been archived by the owner on Mar 5, 2019. It is now read-only.

danieldk/digest-pure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Pure implementation of the digest package

Resources

License

Stars

Watchers

Forks

Packages

No packages published