benchmark.simd-1, struct-arrays: reduce memory usage

db4
Slava Pestov 2009-09-13 17:19:59 -05:00
parent 044139aa88
commit e062cd34dd
2 changed files with 2 additions and 2 deletions

View File

@ -25,6 +25,6 @@ IN: benchmark.simd-1
>fixnum make-points [ normalize-points ] [ max-points ] bi print-point ;
: main ( -- )
5000000 simd-benchmark ;
10 [ 500000 simd-benchmark ] times ;
MAIN: main

View File

@ -47,6 +47,6 @@ SPECIALIZED-ARRAY: point
: struct-array-benchmark ( len -- )
make-points [ normalize-points ] [ max-points ] bi print-point ;
: main ( -- ) 5000000 struct-array-benchmark ;
: main ( -- ) 10 [ 500000 struct-array-benchmark ] times ;
MAIN: main