
18 May
2008
18 May
'08
5:06 p.m.
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