Map.genericSize

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Mon Oct 2 17:28:05 EDT 2006


On Fri, 2006-09-29 at 11:02 +0200, Christian Maeder wrote:
> Map (and Set) use (unboxed) Int internally. So bigger Maps and Sets are
> not possible.

Furthermore, unlike lists which can be bigger than can fit in memory,
Data.Map and .Set are strict structures, so you can never have more than
2^32 elements on a 32bit machine, or 2^64 elements on a 64bit machine.

Duncan



More information about the Glasgow-haskell-users mailing list