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

Stefan O'Rear stefanor at cox.net
Sat Dec 22 16:44:51 EST 2007

On Sat, Dec 22, 2007 at 04:40:00PM -0500, Sterling Clover wrote:
> I'm curious if you get the same performance difference importing
> GHC.Listinstead of
> Data.Char? I chased some dependencies, and Data.Char imports GHC.Arr, which
> in turn imports GHC.List, which provides a bunch of fusion rules pragmas
> that would probably optimize your (++) usage. If this is the case, not sure
> if its a bug or not, but all this will have to be thought through as more
> stream fusion is rolled out anyway, I suspect?
> --S

The Prelude imports GHC.List, iirc.

-------------- 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/61767474/attachment.bin

More information about the Haskell-Cafe mailing list