diff --git a/extra/benchmark/sort/sort.factor b/extra/benchmark/sort/sort.factor index 983a9e86b1..4171bb7196 100644 --- a/extra/benchmark/sort/sort.factor +++ b/extra/benchmark/sort/sort.factor @@ -1,10 +1,9 @@ -USING: kernel sequences sorting benchmark.random math.parser -io.files io.encodings.ascii ; +USING: io.files io.encodings.ascii kernel math math.parser +random sequences sorting ; IN: benchmark.sort : sort-benchmark ( -- ) - random-numbers-path - ascii file-lines [ string>number ] map - natural-sort drop ; + 10 300000 200 random-integers + [ natural-sort drop ] curry times ; MAIN: sort-benchmark