
8 Apr
2014
8 Apr
'14
2:54 a.m.
On Mon, Apr 7, 2014 at 6:42 PM, Nick Smallbone
I believe that StdGen and tf-random are about the same speed, with the winner depending on which benchmark you use. So I wouldn't expect any big change in performance. But tf-random does link against some C code to do the actual hashing, which I imagine is something we don't want StdGen to do. But maybe with something like SipHash we could make a pure Haskell version!
Linking against C libraries is fine. Lots of core libraries do.