« Previous | Next » 

Revision e27eb8ab

IDe27eb8abaf99d0016aaa6badffb6568888483c6d

Added by Iustin Pop about 13 years ago

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.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences