HashBits, a lazy way
Nevin Pratt
nevin at smalltalkpro.com
Tue Jul 15 19:43:02 UTC 2003
John M McIntosh wrote:
>> As a result I wrote a test procedure to check the old versus new
>> allocation routines which iterates over all 393,216 combinations of
>> the class type (2 bits in the hash field, 5 bits of compact class
>> index, 4 bits of object format, 6 bits of object size) with an
>> additional range 0-4 bytes for indexable size, plus of course a bit
>> of fiddling to ensure object size never is zero.
>
>
> Oops it's actually 458,751 iterations plus a change to -5 indexable
> size to capture the mod 4 calculation.
> This works just fine. The overnight testing worked great too, so
> I'll post the change set and performance numbers in a bit.
>
> --
> ========================================================================
> ===
> John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
> Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
> ========================================================================
> ===
>
>
>
John,
Are you not at Smalltalk Solutions? If not, then we're going to miss
out on your excellent trip reports.
Nevin
--
Nevin Pratt
Bountiful Baby
http://www.bountifulbaby.com
(801) 992-3137
More information about the Squeak-dev
mailing list
|