Improve core performance #12

Open
opened 2018-02-28 08:50:51 +13:00 by mikedilger · 2 comments
mikedilger commented 2018-02-28 08:50:51 +13:00 (Migrated from github.com)

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

...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 commented 2019-06-16 09:14:37 +12:00 (Migrated from github.com)

Hi,

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

Hi, I want to work on this, Is it ok if I add benchmarks in `benches` folder ?
mikedilger commented 2019-06-17 11:39:36 +12:00 (Migrated from github.com)

Go for it.

Go for it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mikedilger/float-cmp#12
No description provided.