[Haskell-cafe] Re: newbie optimization question

Peter Hercek peter at syncad.com
Mon Oct 29 06:43:49 EDT 2007


Rodrigo Queiro wrote:
> Why do you expose perfect and divisors? Maybe if you just expose main,
> perfect and divisors will be inlined (although this will only save
> 10,000 function entries, so will probably have negligible effect).

I exposed them so that I can check types in ghci.
Hiding them does not seem to have noticeable effect.

Thanks,
Peter.



More information about the Haskell-Cafe mailing list