[Haskell-cafe] Progress on shootout entries

Dylan Thurston dthurston at barnard.edu
Tue Jan 3 21:12:39 EST 2006


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org//pipermail/haskell-cafe/attachments/20060103/35a96b27/attachment.bin


More information about the Haskell-Cafe mailing list