]> gitweb.factorcode.org Git - factor.git/commitdiff
hashtables: reduce default size of associate.
authorJohn Benediktsson <mrjbq7@gmail.com>
Fri, 3 Aug 2012 04:43:37 +0000 (21:43 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Fri, 3 Aug 2012 04:43:37 +0000 (21:43 -0700)
core/hashtables/hashtables.factor

index 0244d5899cdb6f1ef92f0378cf78caf348df9077..d6fa375dd278f7110ae476aee1ac84b97b5d02dd 100644 (file)
@@ -131,7 +131,7 @@ M: hashtable set-at ( value key hash -- )
     dup ?grow-hash dupd new-key@ set-nth-pair ;
 
 : associate ( value key -- hash )
-    2 <hashtable> [ set-at ] keep ; inline
+    1 <hashtable> [ set-at ] keep ; inline
 
 <PRIVATE