[Magma] performance (was: test result)
Cees de Groot
cg at cdegroot.com
Wed Aug 7 14:15:07 UTC 2002
Stephen Pair <spair at acm.org> said:
> ^(self lastDigit bitShift: 8) + (self digitAt: 1)
>
>Is this a hold-over from the days of 16bit pointers? Should this method
>be changed to "self bitAnd: 16r3FFFFFFF"?
>
I think so. I'm getting boring here (but, hey, I've got VW running all the
time and it's nice to compare these siblings from time to time ;-)), but VW
has the same Integer>>hash. When both versions have something unlogical, I
usually attribute it to Ye Olde Days When They Were One...
--
Cees de Groot http://www.cdegroot.com <cg at cdegroot.com>
GnuPG 1024D/E0989E8B 0016 F679 F38D 5946 4ECD 1986 F303 937F E098 9E8B
Cogito ergo evigilo
More information about the Squeak-dev
mailing list
|