repo.or.cz
/
factor
/
jcg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' of git://factorcode.org/git/factor
[factor/jcg.git]
/
extra
/
benchmark
/
sort
/
sort.factor
blob
983a9e86b1017c066e504e04b00b82d68e8028a8
1
USING: kernel sequences sorting benchmark.random math.parser
2
io.files io.encodings.ascii ;
3
IN: benchmark.sort
4
5
: sort-benchmark ( -- )
6
random-numbers-path
7
ascii file-lines [ string>number ] map
8
natural-sort drop ;
9
10
MAIN: sort-benchmark