Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

But we do want cljs$core$IFn$_invoke$arity$variadic and cljs$lang$maxFixedArity, right? - Herwig

Update 290513: I've implemented generating .cljs$core$IFn$_invoke$arity$ methods and .cljs$lang$applyTo along with .-cljs$lang$maxFixedArity and a wrapper for .call. Surprisingly, this seems to slow down IFn invokations slightly, at least on my machine, despite the generated code looking pretty optimal: https://github.com/bendlas/clojurescript/blob/8a7b4d75708ed8c7ac35ccb1dbd5627b1fce97dc/src/clj/cljs/core.clj#L583 and https://gist.github.com/bendlas/5664542#file-specify-js-L77 - Herwig

Method names

Should the method names be written as symbols instead of keywords? extend has keywords, but it's a function.

...