2010/12/22 Mark Engelberg <mark.engelb...@gmail.com>

> On Wed, Dec 22, 2010 at 1:52 AM, Meikel Brandmeyer <m...@kotka.de> wrote:
> > It is a little ugly, but works with any function, in particular static
> and protocol functions. If you want a less rough interface, you can still go
> the gen-class route from the article. But this will come at the cost of one
> level of indirection on method calls.
>
> I had assumed that the Rt.var lookup to "find the function by string
> name" would be more indirect and slower than calling the method of an
> AOT compiled class.  Is that not the case?
>

Methods of AOT compiled classes are not hard wired to the vars. They
reference the var, so basically you indeed have an additional level of
indirection.

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