[Haskell-cafe] measure a function in ghci

Daniel Peebles pumpkingod at gmail.com
Wed Jun 3 15:28:26 EDT 2009


Just use unamb[1] and let the program decide which to use at runtime!

Just kidding, but only sort of :)

Dan

[1] http://www.haskell.org/haskellwiki/Unamb

On Wed, Jun 3, 2009 at 2:47 PM, Nico Rolle <nrolle at web.de> wrote:
> hi there
>
> is there a quick way to check which function is doing the job quicker?
> i have 2 functions which i want to compare.
> both give the same output but they do it in different manner.
> i want to test which one is faster.
> i use ghci.
>
> thanks
>
> regards
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>


More information about the Haskell-Cafe mailing list