Charles Oliver Nutter pisze:
Here's a comparison of a purely hash-based ivar map versus one that just
does a linear search.

For objects with only a few instance variables, the linear search
mechanism is going to be faster. Perhaps what we need is a map that's
optimized so that small sizes are linear searches and after a certain
threshold it switches to hash-based?

Did the hash map benchmark use already interned strings for ivar names ?

lopex

--
Opole - Miasto Bez Granic.
http://www.opole.pl - tu znajdziesz nowe miejsca, nowe mozliwosci, nowe 
inspiracje...



---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to