[Magma] test result
Andreas Raab
Andreas.Raab at gmx.de
Mon Aug 5 20:09:50 UTC 2002
> > What can be done?
>
> Here are a couple random ideas:
>
> - Modify the vm (object memory) to have a larger identity hash
> - Create a new kind of dictionary that speads the current
> identity hash out (will have the same amount of collisions,
> but will not have to search as far for an open slot)
In addition:
- make the dictionary segmented in order to avoid GC problems with huge
collections.
- if the keys are of widely different types include the class' hash
(will give you better spread on hash keys)
- if the keys are of only a few types don't use IDDicts but rather some
quick'n'dirty hash. See PluggableDictionary.
Cheers,
- Andreas
More information about the Squeak-dev
mailing list
|