2012/10/19 Bruno França dos Reis <bfr...@gmail.com>

> The reason why I wrote a macro instead of a function is because 'get' and
> 'duplicate' are not declared in any common superclass of the different
> buffers, so I was getting lots of reflection!
>
> Are there alternatives to the macro that avoid reflection?
>
 You could use a protocol for that, though it might not be quite as fast as
the directly type hinted version, but certainly faster than reflection.

kind regards

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