Clojure

Update min/max functions to take advantage of primitive math

Details

  • Type: Enhancement Enhancement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: Release 1.3
  • Fix Version/s: Release 1.3
  • Component/s: None
  • Labels:
    None
  • Patch:
    Code
  • Approval:
    Ok

Description

Currently, the min and max functions are quite slow, since they don't take advantage of new primitive math.

Implement them in the same manner in which other primitive math functions are implemented for efficiency.

  1. 0784-min-max-take-3.patch
    06/May/11 10:11 AM
    4 kB
    Stuart Halloway
  2. fast_min_max_no_contagion.patch
    29/Apr/11 3:17 PM
    6 kB
    Luke VanderHart
  3. fast_min_max.patch
    29/Apr/11 3:17 PM
    4 kB
    Luke VanderHart

Activity

Luke VanderHart made changes -
Field Original Value New Value
Attachment fast_min_max.patch [ 10210 ]
Attachment fast_min_max_no_contagion.patch [ 10211 ]
Approval Test
Patch Code
Stuart Halloway made changes -
Attachment 0784-min-max-take-3.patch [ 10217 ]
Approval Test Screened
Rich Hickey made changes -
Approval Screened Ok
Christopher Redinger made changes -
Status Open [ 1 ] Resolved [ 5 ]
Resolution Completed [ 1 ]
Stuart Halloway made changes -
Status Resolved [ 5 ] Closed [ 6 ]

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: