> If you look at the links in my previous e-mail (specifically this one 
> https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/Compiler.java#L1364).
>  
> The reflection is done in the compiler only when there is a tag (i.e. a type 
> hint). Otherwise the compiler just emits an invoke instruction to call the 
> Reflector at runtime. That invoke could be replaced with an invokedynamic 
> instruction.
>

Yes, that's exactly where one of us is mistaken. :) My understanding is that 
this constructor is only called once during the analysis mode. Then, one of 
the emit() methods is called, and from then on we are only executing the 
compiled code.

-Tal

>  
>

-- 
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

Reply via email to