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

Improve core performance #12

Open
mikedilger opened this issue Feb 27, 2018 · 2 comments
Open

Improve core performance #12

mikedilger opened this issue Feb 27, 2018 · 2 comments

Comments

@mikedilger
Copy link
Owner

...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.

@ghost
Copy link

ghost commented Jun 15, 2019

Hi,

I want to work on this, Is it ok if I add benchmarks in benches folder ?

@mikedilger
Copy link
Owner Author

Go for it.

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

No branches or pull requests

1 participant