On Tue, Nov 08, 2005 at 06:40:36PM +0100, Alberto Fuentes Rodriguez wrote: > Each card is represented with a Char (to make the structure smaller) and > then all the hands are a [[Char]] > in total the structure has a size of arround 20Mb. > > Ok the complexity is high but.... why this program needs 1GB (the structure > only has 20MB) of memory??
Perhaps the structers *does* take 1GB, but till now the program didn't require it all in memory at once because of lazy evaluation and GC. Best regards Tomasz _______________________________________________ Haskell mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell
