]> gitweb.factorcode.org Git - factor.git/blob - extra/benchmark/empty-loop-2/empty-loop-2.factor
Merge branch 'master' of git://factorcode.org/git/jamesnvc
[factor.git] / extra / benchmark / empty-loop-2 / empty-loop-2.factor
1 USING: math math.private kernel sequences ;
2 IN: benchmark.empty-loop-2
3
4 : empty-loop-2 ( n -- )
5     [ drop ] each ;
6
7 : empty-loop-main ( -- )
8     5000000 empty-loop-2 ;
9
10 MAIN: empty-loop-main