ClojureScript

direct IFn invokes for deftypes

Details

  • Type: Enhancement Enhancement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • 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.

Activity

Hide
David Nolen added a comment -

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.

Show
David Nolen added a comment - 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.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: