Optimisation of unpackCString#

Johan Tibell johan.tibell at gmail.com
Tue Apr 29 15:11:33 EDT 2008


On Tue, Apr 29, 2008 at 8:44 PM, Don Stewart <dons at galois.com> wrote:
> ndmitchell:
>  > That requires Proposal 2, so needs to have an API defined -- including
>  > length# and some others. Out of curiosity, how much performance boost
>  > would this give in ByteString?
>
>  It matters for programs with lots of constant strings. HAppS' webserver
>  reported good speedups doing this translation by hand.

I imagine that my HTTP parser library would also get a nice boost from this.

-- Johan


More information about the Glasgow-haskell-users mailing list