Re: [math] FastMath isn't fast...

2021-01-27 Thread Gilles Sadowski
Hi. Le mer. 27 janv. 2021 à 17:39, Erik Svensson a écrit : > > Hello all! > > I work for a fintech company and we do a lot of risk computations using, > among other things, FastMath. > Recently I had the opportunity to do some performance testing using JMH and > found, to my surprise, that once

Re: [math] FastMath isn't fast...

2021-01-27 Thread Matt Sicker
Are we even allowed to use the intrinsic annotation in user code? Java 9 introduces modules in that they wish to hide internal details, and this sounds like an internal detail? On Wed, 27 Jan 2021 at 10:39, Erik Svensson wrote: > > Hello all! > > I work for a fintech company and we do a lot of ri

[math] FastMath isn't fast...

2021-01-27 Thread Erik Svensson
Hello all! I work for a fintech company and we do a lot of risk computations using, among other things, FastMath. Recently I had the opportunity to do some performance testing using JMH and found, to my surprise, that once you move beyond Java 8, java.lang.Math outperforms FastMath, sometimes qu