[Haskell-cafe] Strange type behavior in GHCi 6.4.2

Lennart Augustsson lennart at augustsson.net
Sat Dec 30 09:27:01 EST 2006


Maybe it's simpler to add a lot of INLINE, but that can make a program
slower as well as faster.  It's much better to profile and add them
where they are needed.

	-- Lennart

On Dec 30, 2006, at 08:42 , Bulat Ziganshin wrote:

> Hello Kirsten,
>
> Friday, December 29, 2006, 6:30:22 PM, you wrote:
>
>> I suggest *not* using these pragmas unless a combination of profiling
>> and reading intermediate code dumps suggests that foo -- and its
>> un-specialized nature -- is truly a bottleneck.
>
> it's a matter of taste - and experience. may be it's simpler to add  
> a huge
> number of INLINE pragmas than to profile and especially read code  
> dumps?
>
>
>
> -- 
> Best regards,
>  Bulat                            mailto:Bulat.Ziganshin at gmail.com
>
> _______________________________________________
> 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