
19 Feb
2011
19 Feb
'11
8:16 p.m.
On Sat, Feb 19, 2011 at 4:27 PM, Sterling Clover
Getting a bit picky, but for the record, Data.Map and Data.Sequence provide O(1) size, and Data.HashTable I believe stores the information but doesn't expose it from its tiny API. That's not an argument either way for what a HashMap should do, however :-)
We could support O(1) size. I have a design that doesn't waste one word per node to store the size. I'll look into it as soon as I have time. Johan