My apologies for the noise if this is well known in the Clojure community, but I'll ask anyway.
One of the tweaks to my Clojure benchmarks that people have suggested for improving performance, and that does help, is changing some function definitions to macros. This is in effect inlining those functions at the source level, so the Clojure compiler has a shot at it. Is there some reason that the Java JIT is not doing this, with the original code using defn, as fast as it works when using defmacro? Perhaps some JITs do inlining, but cannot do it as well as a defn -> defmacro change permits? Is it because of some kind of function call/return overhead that the JIT cannot eliminate? Thanks, Andy --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---