-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Optimise usage of pow using fast equivalent and exp2 #7548
base: master
Are you sure you want to change the base?
Conversation
Don't use (Note that |
I'd rather we used Also, in addition to Lost Robot's comment on the inaccuracy of the |
Noted
I have reverted the of calls to
I don't have profiling set up in this branch. I'll try something tho. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haven't tested it, but it looks good
I couldn't see much performance improvement from profiling. @sakertooth do we still want this. Atleast there's no change in behaviour. |
I generally always prefer using what is provided in the standard library by default. So, if the optimized |
In some places, the updated pow function is needed but in other places, not really, but I would say, change everything as |
@sakertooth we fine with pushing this as is, or should I enforce the |
My stance is the same still: I would prefer |
Should I revert the ones in monstro and |
No description provided.