Specific arities means dispatch on arity can happen at the full speed of the
host w/o incurring the overhead of variable arity support. This issue
applies to ClojureScript as well where functions are not backed by classes.

David

On Wed, Sep 28, 2011 at 8:55 AM, Christian Romney <xmlb...@gmail.com> wrote:

> I was reading the implementation of juxt and noticed it is defined
> with 4 arities:
>
> https://github.com/clojure/clojure/blob/master/src/clj/clojure/core.clj#L2296
>
> Am I right to infer this is for performance reasons?
> Where can I read more about the performance implications of arity and
> this sort of optimization?
>
> TIA.
>
> --
> 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

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