On 24.02.2010, at 15:42, Sean Devlin wrote: > Create a local fork of Clojure, make a new branch, and hack on the > compiler. Run the experiment, see what happens :)
Right now I have better ways to use my time than hacking on a compiler that Rich is replacing with a new one written in Clojure! However, I did have a look at the compiler to see if I can find what's going on. I can't claim to have understood everything, so I may be wrong, but this is my current best explanation: no type tag means no method lookup at compile time, thus reflection on all method calls. Presumably one could modify the compiler to put a default type tag of java.lang.Object on all function arguments that don't have a type tag, but if one day the compiler is extended to allow unboxed primitives as function arguments, that would probably fail. Konrad. -- 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