
3 Jan
2006
3 Jan
'06
9:12 p.m.
On Wed, Jan 04, 2006 at 03:02:29AM +0100, Sebastian Sylvan wrote:
I took a stab at the rev-comp one due to boredom. It's not a space leak, believe it or not, it's *by design*...
My god, I think someone is consciously trying to sabotage Haskell's reputation!
Instead of reading input line-by-line and doing the computation, it reads a whole bunch of lines (hundreds of megs worth, apparently) and only does away with them when a new header appears.
Anyway, I uploaded a dead simple "first-naive-implementation" which is significantly faster (and more elegant): ...
The program is supposed to do "reverse and complement". The code you posted just does "complement". Peace, Dylan