Optimizing ClojureScript Function Invocation

1 · David Nolen · March 16, 2015, midnight
For all the available abstractions, the #1 tool of any Clojure and ClojureScript programmer is the humble function. This being true it becomes extremely important to optimize this common operation. This is not quite as straightforward as it may seem when compiling to JavaScript due to the fact that many Clojure and thus ClojureScript functions leverage multiple arities. On the JVM this is handled via the clojure.lang.IFn interface as the JVM already has good support for methods with multiple ari...