Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce faster approximate sinh/atan math functions #49009

Merged
merged 3 commits into from
Nov 14, 2019

Commits on Nov 12, 2019

  1. Introduce faster approximate sinh/atan functions

    This commit introduces a new class called ESSloppyMath
    that is meant to reflect the purpose of Lucene's SloppyMath,
    but add additional unimplemented faster alternatives to math functions.
    
    The two that are used by geotile-grid a lot are sinh/atan.
    
    In a quick elasticsearch rally benchmark for geotile-grid on Switzerland
    data points, this shows a (1.22x) 22% speed-up over using Math's functions.
    
    closes elastic#41166.
    talevy committed Nov 12, 2019
    Configuration menu
    Copy the full SHA
    6c753d0 View commit details
    Browse the repository at this point in the history
  2. add license header to tests

    talevy committed Nov 12, 2019
    Configuration menu
    Copy the full SHA
    5323c5a View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2019

  1. Configuration menu
    Copy the full SHA
    20c2db4 View commit details
    Browse the repository at this point in the history