Faster dictionaries?
Andres Valloud
AVALLOUD at roadrunner.com
Thu Jul 19 17:50:03 UTC 2007
sig wrote:
> look at MaDictionary class comment.
>
> both dictionaries used in comparison tests populated simply using just:
>
> obj := Object new.
> dict at: obj put: obj.
I don't have a Squeak image handy right now, but I'd suggest checking
these cases out...
Time it takes to add all strings in the image to a dictionary.
Time it takes to add all symbols in the image to a dictionary.
Time it takes to add 100k consecutive integers as keys of a dictionary.
Thanks,
Andres.
More information about the Squeak-dev
mailing list
|