]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/benchmark/struct-arrays/struct-arrays.factor
stomp.cli: simplify
[factor.git] / extra / benchmark / struct-arrays / struct-arrays.factor
index 6e1338d50b354bbb3100a5f0ac80f0868a981e14..b0b9e2a04f686a1a0c189d5e65ef86506972bc29 100644 (file)
@@ -1,7 +1,7 @@
 ! Copyright (C) 2009 Slava Pestov.
-! See http://factorcode.org/license.txt for BSD license.
+! See https://factorcode.org/license.txt for BSD license.
 USING: accessors alien.data classes.struct combinators.smart
-fry kernel math math.functions math.order math.parser sequences
+kernel math math.functions math.order math.parser sequences
 specialized-arrays io ;
 FROM: alien.c-types => float ;
 IN: benchmark.struct-arrays
@@ -37,7 +37,7 @@ SPECIALIZED-ARRAY: point
     [ x>> max ] [ y>> max ] [ z>> max ] change-xyz ; inline
 
 : <zero-point> ( -- point )
-    0 0 0 point <struct-boa> ; inline
+    0 0 0 point boa ; inline
 
 : max-points ( points -- point )
     <zero-point> [ max-point ] reduce ; inline