GHC-6.4.1 much slower than GHC-6.4

Simon Marlow simonmar at microsoft.com
Fri Oct 28 11:14:32 EDT 2005


On 28 October 2005 16:09, Mirko Rahn wrote:

>> I've found a way to speed up your code for ghc-6.4.1.
>> Replace the "where" with a "case" in PCP.Suc.suc_rules (see below)
> 
> Okay, thanks, that works fine.
> 
>> (Maybe that is a good idea in PCP.Rules.Suc, too)
> 
> Seems to be unimportant whether the replacement is done in
> PCP.Rules.Suc too. In both cases the 6.4.1-version is slightly faster
> -- as is should be :-) -- than the 6.4.
> 
>> I don't know why this can be better optimized, but my profiling
>> results 
> 
> I even don't understand why it works. I think I have to reread the
> report once more...

It's a bug - we're looking into it.  Thanks for the report.

Cheers,
	Simon



More information about the Glasgow-haskell-bugs mailing list