Weird... I sent this over a month ago, and was a bit puzzled as to why
it didn't appear on the list. Has it been waiting for a moderator to
release?

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Alistair Bayley
> Sent: 04 June 2007 09:44
> To: haskell-cafe
> Cc: Duncan Coutts
> Subject: Re: [Haskell-cafe] Optimising UTF8-CString -> String 
> marshaling,plus comments on withCStringLen/peekCStringLen
> 
> Hello cafe,
> 
> (Following up on my own optimisation question, and Duncan's advice
> to look at http://darcs.haskell.org/ghc/compiler/utils/Encoding.hs)
> 
> > If you want to look at some existing optimised UTF8 
> encoding/decoding
> > code then take a look at the code used in GHC:
> >
> > http://darcs.haskell.org/ghc/compiler/utils/Encoding.hs
> >
> > Duncan
> 
> I took a look at the UTF8 decoder in GHC. This inspired me to write
> one that also used unboxed types directly. Pleasingly, it goes like
> a cut cat, and uses far less space than the naive version, but it's
> not portable, which is a bummer.
...
*****************************************************************
Confidentiality Note: The information contained in this message,
and any attachments, may contain confidential and/or privileged
material. It is intended solely for the person(s) or entity to
which it is addressed. Any review, retransmission, dissemination,
or taking of any action in reliance upon this information by
persons or entities other than the intended recipient(s) is
prohibited. If you received this in error, please contact the
sender and delete the material from any computer.
*****************************************************************
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to