hashtables: use >= in hash-large?.
parent
54cca48aca
commit
260abd3d7c
|
@ -94,8 +94,8 @@ TUPLE: hashtable
|
|||
[ swapd (set-at) ] curry assoc-each ; inline
|
||||
|
||||
: hash-large? ( hash -- ? )
|
||||
[ count>> 3 fixnum*fast 1 fixnum+fast ]
|
||||
[ array>> length>> ] bi fixnum> ; inline
|
||||
[ count>> 3 fixnum*fast ]
|
||||
[ array>> length>> ] bi fixnum>= ; inline
|
||||
|
||||
: each-pair ( array quot: ( key value -- ) -- )
|
||||
[
|
||||
|
|
Loading…
Reference in New Issue