Merge branch 'master' of git://factorcode.org/git/factor

db4
Slava Pestov 2009-10-15 23:30:29 -05:00
commit 98a2f5152c
1 changed files with 4 additions and 2 deletions

View File

@ -1,10 +1,12 @@
! (c)Joe Groff bsd license
USING: io kernel terrain.generation threads ;
USING: io kernel math.vectors.simd terrain.generation threads ;
FROM: alien.c-types => float ;
SIMD: float
IN: benchmark.terrain-generation
: terrain-generation-benchmark ( -- )
"Generating terrain segment..." write flush yield
<terrain> { 0 0 } terrain-segment drop
<terrain> float-4{ 0 0 0 1 } terrain-segment drop
"done" print ;
MAIN: terrain-generation-benchmark