Remove obsolete benchmark
parent
d6444e742c
commit
48dbd4022c
|
@ -3,7 +3,7 @@ IN: benchmark.typecheck3
|
|||
|
||||
TUPLE: hello n ;
|
||||
|
||||
: hello-n* ( obj -- val ) dup tag 2 eq? [ 2 slot ] [ 3 throw ] if ;
|
||||
: hello-n* ( obj -- val ) 2 slot ;
|
||||
|
||||
: foo ( obj -- obj n ) 0 100000000 [ over hello-n* + ] times ;
|
||||
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Slava Pestov
|
|
@ -1,12 +0,0 @@
|
|||
USING: math kernel kernel.private slots.private ;
|
||||
IN: benchmark.typecheck4
|
||||
|
||||
TUPLE: hello n ;
|
||||
|
||||
: hello-n* ( obj -- val ) 2 slot ;
|
||||
|
||||
: foo ( obj -- obj n ) 0 100000000 [ over hello-n* + ] times ;
|
||||
|
||||
: typecheck-main ( -- ) 0 hello boa foo 2drop ;
|
||||
|
||||
MAIN: typecheck-main
|
Loading…
Reference in New Issue