USING: namespaces math sequences splitting grouping kernel columns ; IN: benchmark.dispatch2 : sequences ( -- seq ) [ 1 , 10 >bignum , { 1 2 3 } , "hello world" , SBUF" sbuf world" , V{ "a" "b" "c" } , F{ 1.0 2.0 3.0 } , "hello world" 4 tail-slice , 10 f , 100 2 , "hello" , { { 1 2 } { 3 4 } } 0 , ?{ t f t } , B{ 1 2 3 } , [ "a" "b" "c" ] , 1 [ + ] curry , ] { } make ; : don't-flush-me ( obj -- ) drop ; : dispatch-test ( -- ) 1000000 sequences [ [ 0 swap nth don't-flush-me ] each ] curry times ; MAIN: dispatch-test