typelead / eta-hackage

A set of patches to make Hackage compatible with the Eta language.
64 stars 31 forks source link

cryptohash-md5 and cryptohash-sha1 large input test #113

Open rahulmutt opened 6 years ago

rahulmutt commented 6 years ago

Both packages fail the xltest both of which create an insanely large (lazy) input to hash. It was observed that the Eta process quickly went from 1.0GB -> 2.0GB memory usage within a matter of 20 seconds and just stalled.

Moreover, the boundary cases for testing md5 against the reference implementation were failing for cryptohash-md5.

rahulmutt commented 6 years ago

Same deal with cryptohash-sha256. Additionally, the boundary cases are failing (similar to cryptohash-md5)