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