-
Notifications
You must be signed in to change notification settings - Fork 499
NegateValue vs ScaleValue #7402
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
Conversation
|
Does any of these graphs compare two implementations that are otherwise exactly the same, except one uses You seem to be comparing |
|
It would also be nice to verify whether |
|
In any case, I think we should still add |
Yes! |
|
We got all we needed from benchmark! |

compares
NegateValueandScaleValuebuiltin.I benchmarked two implementation of
NegateValue. First, with(-1) * quantityother withnegate quantityand two results differ significantly.This is result is from having
(-1) * quantityThis one is with
negate quantitywhere
I didn't know
negatewould perform so much better than(-1) *