Today I evaluated John Lawrence Aspden's Clojure port of a fractal tree program which contains optimisations targeting 1.3:
http://www.learningclojure.com/2010/09/clojure-13-first-impression.html Unfortunately, this no longer compiles with 1.3.0-alpha4 as draw-tree has too many arguments: "CompilerException java.lang.IllegalArgumentException: fns taking primitives support only 4 or fewer args" The signature of the offending function is as follows: (defn ^:static draw-tree [ #^Graphics g2d ^double angle ^double x ^double y ^double length ^double branch-angle ^long depth] ...) I was wondering what purpose the '4 or fewer args' restriction serves and therefore how you might retain the performance of this implementation with 1.3.0-alpha4 and beyond (assuming the restriction is here to stay). Would you have to break out into a number of smaller fns calculating the new x, y length and angle vals? Sam --- http://sam.aaron.nmae -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en