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

Joost Behrends webmaster at h-labahn.de
Sat Dec 22 14:26:09 EST 2007

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.

Cheers, Joost

More information about the Haskell-Cafe mailing list