]> gitweb.factorcode.org Git - factor.git/blob - extra/benchmark/typecheck4/typecheck4.factor
cc3310fef6c2b35e70a4106c7be0a2b0d1ecc6c3
[factor.git] / extra / benchmark / typecheck4 / typecheck4.factor
1 USING: math kernel kernel.private slots.private ;
2 IN: benchmark.typecheck4
3
4 TUPLE: hello n ;
5
6 : hello-n* 3 slot ;
7
8 : foo 0 100000000 [ over hello-n* + ] times ;
9
10 : typecheck-main 0 hello boa foo 2drop ;
11
12 MAIN: typecheck-main