Performance Problem with Clojure Array -
This piece of code is too slow on execution by mud-copy on my netbook takes a few minutes .
(def-test-array (make-array integer / TYPE 400 400 3)) (doseq [x (range 400)
On the contrary, This code runs really fast:
(maximum (one max) (max (map (Fan [W] (apply maximum (map # (first%) w))) Test -Are) (Def max-2 (max (map (FN [w] (map # (second%) w))) Test-array (def maximum-three (maximum apply (map (FN [W]) ) (Maximum (Map # (Last%) W))) Examination -Are)))
Is it selected Have something done with scenes? Is my first example just written wrong?
You hit Java reflection This blog post has an alternative solution:
Comments
Post a Comment