On Fri, Apr 03, 2009 at 10:27:08PM +1100, [email protected] wrote:
> On Fri, Apr 03, 2009 at 10:22:07AM +0200, Ketil Malde wrote:
> > [email protected] writes:
> > 
> > > I'm relatively new to haskell so as one does, I am rewriting an
> > > existing program in haskell to help learn the language.
> > 
> > > However, it eats up all my RAM whenever I run the program.
> > 
> 
> Thanks for all the help everyone . I've decided to dump Parsec, as the file
> structure is simple enough to implement using basic list manipulation
> (which is, I've read, one of haskell's strong points) and has turned
> out to be much simpler code.
> 

Using lazy I/O has reduced run time by 75% and RAM consumption to 3MB

Thank you :)

-- 
Lucas Hazel <[email protected]>

Attachment: pgpPMNEI3nA3B.pgp
Description: PGP signature

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to