ClojureScript

remove arguments usage from defrecord constructor

Details

  • Type: Defect Defect
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

There is no need for the arguments usage in the defrecord constructor and it's a perf hit for construction. We should always construct defrecords by passing in the extra three arguments: __extmap, __meta, and hash automatically.

Activity

David Nolen made changes -
Field Original Value New Value
Summary removed arguments usage from defrecord constructor remove arguments usage from defrecord constructor

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: