]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/benchmark/nbody/nbody.factor
Specialized array overhaul
[factor.git] / extra / benchmark / nbody / nbody.factor
index 983da8882176f1a7697d8fea8cdd6746c6599740..fc1cbaa12c211bc24ad38471376a6edb422823ca 100644 (file)
@@ -1,8 +1,9 @@
 ! Copyright (C) 2008, 2009 Slava Pestov.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: accessors specialized-arrays.double fry kernel locals math
-math.constants math.functions math.vectors prettyprint combinators.smart
-sequences hints arrays ;
+USING: accessors specialized-arrays fry kernel locals math
+math.constants math.functions math.vectors prettyprint
+combinators.smart sequences hints arrays ;
+SPECIALIZED-ARRAY: double
 IN: benchmark.nbody
 
 : solar-mass ( -- x ) 4 pi sq * ; inline