Re: A question about arity and function performance

2011-09-28 Thread David Nolen
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 wrote: > I was r

A question about arity and function performance

2011-09-28 Thread Christian Romney
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 o