
30 Jul
2001
30 Jul
'01
9 a.m.
So am I. Have any haskell-performance gurus looked at any of the code? Many of the slowest entries are written in a very elegant, high-level style that is probably also relatively slow.
I've looked at a few. The most common factor in the worst performers seems to be the performance of String-related operations. I tried converting a few to use PackedStrings but that didn't help much. I suspect our PackedString implementation could do with some tuning, and we could gain considerable benefit from having an hGetLinePS function (like hGetLine but gets a PackedString). Cheers, Simon