[Haskell-cafe] Re: Write Haskell as fast as C.

Neil Mitchell ndmitchell at gmail.com
Sun May 18 13:06:49 EDT 2008


Hi

> None of this is really all that surprising; in the general case, a Read
> instance might have to skip over spaces or parse deeply nested brackets or
> any number of other things. If you know you don't need to handle all those
> cases, write your own parser. It shouldn't be hard to come up with something
> faster. [Altough obviously it's kinda tedious.]

Feel free to automate it using Derive:
http://www-users.cs.york.ac.uk/~ndm/derive/

Should be fairly easy for someone to do, and you can go as
high-performance as you want.

Thanks

Neil


More information about the Haskell-Cafe mailing list