MagmaPreallocatedDictionary

Facundo Vozzi facundov79 at gmail.com
Mon Dec 13 12:15:51 UTC 2010


>
>
> Also don't forget it is perfectly reasonable to make as many
> object-pointers as you need even to the same objects; this is where
> ODBMS's excel.  So you can have more than one collection with the same
> objects.  So use the best collection for the job in each case.  If you
> need to "find customers by names" then I would, in fact, use a
> MagmaCollection with a index on name.  If you need the high-speed
> single-object access, you should also put the same objects into the
> MagmaPreallocatedDictionary.
>

Yes, I was thinking about it. Maybe I'm going to have an overhead
maintaining that structures but It's a good price to paid for better
performance in this case.


>  - Chris
>
>
See you,
Facu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/magma/attachments/20101213/a7d72dd7/attachment.htm


More information about the Magma mailing list