Horrible unscalability, how do I change hashBitsOf: ?

Ned Konz ned at bike-nomad.com
Sat Oct 6 23:59:48 UTC 2001


On Saturday 06 October 2001 04:36 pm, Scott A Crosby wrote:

> Correct. Strings/Symbols have their own custom hash function. Though for
> small symbol dictionaries, it may be faster to use
> identityset/identitydictionary instead of the sets/dictionaries. (Given
> profiling of macrobenchmark2, and assumign that it is only using small
> symbol dictionaries, that might possibly speed up that macrobenchmark by a
> few percent.)

I posted a change set a while back that changed a number of symbol 
dictionaries to IdentityDictionaries; this did in fact speed up the 
benchmarks by a few percent.

-- 
Ned Konz
currently: Stanwood, WA
email:     ned at bike-nomad.com
homepage:  http://bike-nomad.com




More information about the Squeak-dev mailing list