1 ! Copyright (C) 2009 Slava Pestov.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: kernel math math.functions tuple-arrays accessors fry sequences
5 IN: benchmark.tuple-arrays
7 TUPLE: point { x float } { y float } { z float } ;
11 : tuple-array-benchmark ( -- )
13 drop 5000 <point-array> [
20 MAIN: tuple-array-benchmark