[Haskell-cafe] Re: Importing Data.Char speeds up ghc around 70%

Stefan O'Rear stefanor at cox.net
Sat Dec 22 14:53:21 EST 2007

On Sat, Dec 22, 2007 at 07:26:09PM +0000, Joost Behrends wrote:
> Stefan O'Rear <stefanor <at> cox.net> writes:
> > If you can reproduce it on your machine (rm <executable> *.o *.hi
> > between tests for maximum reliability), it's definitely a bug.
> > 
> > http://hackage.haskell.org/trac/ghc/wiki/ReportABug
> > 
> > Stefan
> Yes, it was the same as before. Had i reboot meanwhile, because i was out for 
> meal. 1.34 vs. 2.34 minutes are still the same times now, WITH deletion of the 
> object files and the .exe between both compiles and runs.
> What is happening here ? Does importing Data.Char shadow (in a hidden way) some
> timeworn types or methods in the Prelude ? If so, ghc might be still faster
> than it looks now.

There is absolutely no way this could be correct behavior.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20071222/e5305d0a/attachment.bin

More information about the Haskell-Cafe mailing list