9 Nov
2005
9 Nov
'05
12:11 p.m.
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