Specialize the math functions
The statistics functions are currently defined as polymorphic with a Floating constraint. Changing this to monomorphic on Double type makes them stricter and much more performant (~70% speedup). This is a cheap way to recoup some of the loses incurred by the recent proliferation of metrics.
Loading
Please register or sign in to comment