classes.tuple: use integer>fixnum in tuple-hashcode.
parent
c2684d5875
commit
81caec378d
|
@ -376,7 +376,7 @@ M: tuple equal? over tuple? [ tuple= ] [ 2drop f ] if ;
|
|||
[ class-of hashcode ] [ tuple-size ] bi
|
||||
[ dup fixnum+fast 82520 fixnum+fast ] [ <iota> ] bi
|
||||
] 2keep [
|
||||
swapd array-nth hashcode* >fixnum rot fixnum-bitxor
|
||||
swapd array-nth hashcode* integer>fixnum rot fixnum-bitxor
|
||||
pick fixnum*fast [ [ fixnum+fast ] keep ] dip swap
|
||||
] 2curry each drop nip 97531 fixnum+fast ; inline
|
||||
|
||||
|
|
Loading…
Reference in New Issue