]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/benchmark/sort/sort.factor
core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota...
[factor.git] / extra / benchmark / sort / sort.factor
index c3f8ae32d0e44b09883449b9490272df4be2a7ff..70744c13de72f4a53b014a8a08ab7b3c0988fea7 100644 (file)
@@ -2,7 +2,7 @@ USING: assocs kernel literals math random sequences sorting ;
 IN: benchmark.sort
 
 CONSTANT: numbers-to-sort $[ 300,000 200 random-integers ]
-CONSTANT: alist-to-sort $[ 1,000 iota dup zip ]
+CONSTANT: alist-to-sort $[ 1,000 <iota> dup zip ]
 
 : sort-benchmark ( -- )
     10 [ numbers-to-sort natural-sort drop ] times