Skip to content

Improve core performance #12

Description

@mikedilger

...perhaps by making the core functions branchless.

approx_eq_ulps(), probably the most used function, is pretty short and probably quite easy to make branchless.

approx_cmp() and approx_eq_ratio() are disturbingly long functions IMHO and probably hold promise for plenty of other kinds of optimizations.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions