On Sun, May 8, 2011 at 4:43 PM, Dmitry Kakurin <dmitry.kaku...@gmail.com>wrote:
> Very well, something along these lines would be my guess too. > But that would mean that in case 2 protocols are no faster > than multimethods. > Not true. > And I've got an impression that protocols are described to be as fast as > interface dispatch (callvirt). > So either my impression is wrong (which is totally possible) or there is > some clever trick available on JVM to do case 2 below faster. > That's why I'm asking. > They are not as fast, but they are quite fast. Look at the implementation. David -- 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