> 4. Unless you're using 1.3 or later, put the innermost loop in a > single function and try to avoid calling sub-functions, except for > operators like + that can get inlined.
This is interesting, can you be more specific about this point -- what exactly do we need to avoid? Calls that force the boxing of primitives? Is really any call that isn't inlined that expensive? And what specific improvements does 1.3 bring? I am very interested in writing code that's both optimal and as idiomatic as possible. > 10. Watch for reflection warnings when using arrays. Don't bother with > aset-int and friends either. What do you mean by not bothering with aset-int? -- 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