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

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -