Greg, > The code looks ok to me -- you've deepseq'ed the list, and forcing it > to whnf should force the deepseq. Also, criterion runs your benchmark > many times, if your code was measuring the RNG time it would only > happen once. This would show up in the criterion output as an > unusually large outlier.
Thank you for your review. Because my benchmark seems OK, I need to think why the algorithm works slower against random data. :) --Kazu _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe