Program slower with local definitions

Rene de Visser Rene_de_Visser at hotmail.com
Tue Sep 5 13:59:03 EDT 2006


"Michael Marte" <marte at pms.informatik.uni-muenchen.de> schrieb im 
Newsbeitrag news:44FDA873.6070600 at pms.informatik.uni-muenchen.de...
> Hello *,
>
> I noticed a five percent speed up by making local definitions global.
Maybe the global defintions are monomorphic, and the local defintions
are polymorphic. You could evaluate the types of the global types and
apply them to the local definitions to see if that then gives the same 
result.

(just guessing).

Rene. 





More information about the Glasgow-haskell-users mailing list