lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [lucenenet] NightOwl888 opened a new issue #297: Investigate Performance of Math Functions in .NET Standard 2.1+
Date Wed, 17 Jun 2020 17:13:50 GMT

NightOwl888 opened a new issue #297:

   As part of our effort to improve performance (#261), Microsoft has [added support](
for some of the functions we use in [MathUtil](
       // Hyperbolic Functions
       public static double Acosh(double);                 // Compute area hyperbolic cosine
       public static double Asinh(double);                 // Compute area hyperbolic sine
       public static double Atanh(double);                 // Compute area hyperbolic tangent
       public static double Log(double, double);
   We should run benchmarks to see if the built-in implementation is faster than ours, and
if so reference the built-in `Math` class inside of `MathUtil` in .NET Standard 2.1+ as well
as consider the same optimizations to `MathUtil` for other target frameworks.
   It also looks like `public static int Log(long, long)` may be able to be optimized.

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:

View raw message