]> gitweb.factorcode.org Git - factor.git/commitdiff
hashtables: use "4drop" instead of "drop 3drop".
authorJohn Benediktsson <mrjbq7@gmail.com>
Tue, 23 Oct 2012 19:26:14 +0000 (12:26 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 23 Oct 2012 19:26:14 +0000 (12:26 -0700)
core/hashtables/hashtables.factor

index ee1fcdefa77445e6a58899891ca3908d82943329..4194fc796a636dd77b55c66b6767ffc1bf52da7f 100644 (file)
@@ -24,7 +24,7 @@ TUPLE: hashtable
 
 : (key@) ( key array i probe# -- array n ? )
     [ 3dup swap array-nth ] dip over ((empty)) eq?
-    [ drop 3drop no-key ] [
+    [ 4drop no-key ] [
         [ = ] dip swap
         [ drop rot drop t ]
         [ probe (key@) ]