<< Back to previous view

[CLJS-619] direct IFn invokes for deftypes Created: 14/Oct/13  Updated: 18/Oct/13  Resolved: 18/Oct/13

Status: Closed
Project: ClojureScript
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Enhancement Priority: Major
Reporter: David Nolen Assignee: Unassigned
Resolution: Completed Votes: 0
Labels: None


 Description   

We should support IFn implementations for different arities. This is a step towards improving the performance of deftypes that act as functions. This is also a necessary enhancement for multimethods performance which is currently abysmal.



 Comments   
Comment by David Nolen [ 14/Oct/13 12:47 PM ]

We may want to considering automatically putting a IFn in the deftype prototype chain so that implementors get default implementations for arities they don't implement.

Comment by David Nolen [ 18/Oct/13 3:37 PM ]

fixed http://github.com/clojure/clojurescript/commit/95447d195355cbb0b2c7b8345bbfd16078d62121

Generated at Mon Jul 28 21:36:58 CDT 2014 using JIRA 4.4#649-r158309.