difference between MaDictionary and MagmaDictionary
Esteban Lorenzano
estebanlm at gmail.com
Tue Dec 14 22:57:00 UTC 2010
ok, and what about using MagmaDictionary? better? or the same?
cheers,
Esteban
El 14/12/2010, a las 5:40p.m., Chris Muller escribió:
>>> 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