[Haskell-cafe] Forcing recomputation

Tom Ellis tom-lists-haskell-cafe-2013 at jaguarpaw.co.uk
Wed Nov 19 07:55:02 UTC 2014


On Tue, Nov 18, 2014 at 11:39:37PM -0800, Todd Wilson wrote:
> For example, suppose I have a function f and two arguments e1
> and e2, and I want to compare the time it takes to compute f e1 vs. f
> e2

If your purpose is benchmarking (and even if it isn't) I suggest you look at
how criterion manages the issue

    http://www.serpentine.com/criterion/tutorial.html


More information about the Haskell-Cafe mailing list