Merge branch 'master' of git://factorcode.org/git/factor
[factor/jcg.git] / extra / benchmark / sort / sort.factor
blob983a9e86b1017c066e504e04b00b82d68e8028a8
1 USING: kernel sequences sorting benchmark.random math.parser
2 io.files io.encodings.ascii ;
3 IN: benchmark.sort
5 : sort-benchmark ( -- )
6     random-numbers-path
7     ascii file-lines [ string>number ] map
8     natural-sort drop ;
10 MAIN: sort-benchmark