classes.tuple: use integer>fixnum in tuple-hashcode.

freebsd-work
John Benediktsson 2019-01-10 21:39:24 -08:00
parent c2684d5875
commit 81caec378d
1 changed files with 1 additions and 1 deletions

View File

@ -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