
5 Aug
2008
5 Aug
'08
12:15 a.m.
On Sat, Aug 2, 2008 at 10:13 PM, Tim Newsham
Anyone interested in critiquing some code? I'm looking for ideas for making it faster and/or simpler:
The code looks fairly reasonable, although most of your strictness annotations are unlikely to do much (particularly those on String fields). You should try profiling this. I can see a few possible problems (such as reading String from a socket, instead of a ByteString), but it's difficult to predict what might be causing your code to be so slow. Haskell code ought to be much more competitive with C for an application like this.