Optimisation of unpackCString#

Don Stewart dons at galois.com
Mon Apr 28 17:09:05 EDT 2008


ndmitchell:
> Hi
> 
> >  > That would work on GHC, but not on Hugs.
> >
> > Optimisation and Hugs don't go together anyway.
> 
> I want the code to work on Hugs, and perform fast on GHC. As it turns
> out, for this particular application, Hugs is faster than GHCi by
> about 25%.
  
Optimisation and ghci don't go together, so I don't know what your point
is there.

Anyway, its the same with ByteString -- we have it work in ghci or hugs
or nhc, but its only worth actually optimising for GHC.

-- Don


More information about the Glasgow-haskell-users mailing list