difference between MaDictionary and MagmaDictionary
Chris Muller
asqueaker at gmail.com
Tue Dec 14 20:40:42 UTC 2010
>> If I replace MaDictionary with Dictionary, I will be reading/writing the
>> full dictionary each time I add an element to the dictionary... isn't?
Yes, that's true. But a MaDictionary only saves you that if you have
a lot of collisions.
> I think that you need replace MaDictionary with MagmaPreallocatedDictionary
> not with standard Dictionary.
No, this is wrong, please see how MagmaPreallocatedDictionary works.
It is for very large dictionary's, Esteban is using a MaDictionary for
his root object, and my guess is it only has a few entries in it..
- Chris
More information about the Magma
mailing list