-
Notifications
You must be signed in to change notification settings - Fork 174
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
Implement trueloc/falseloc #603
Conversation
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.
Thanks -- a few simple suggestions here, which should be easy to address.
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.
Thanks
I have a concern about the implementation. Since Why not implement the functionality of And, is FWIW, my preference would be, in this order:
|
The poor performance results mainly from the function call, evaluating the dimension of the returned array twice gives some penalty, the double copy will probably get optimized away. Inlining the implementation doesn't give a performance benefit, therefore I'll keep Implementation in 7b5ffac
Using subroutine instead of function (4a4ac22)
Duplicated inline implementation
Implementing
|
Nice comparison. However, is this comparison fair for |
Indeed, I would consider |
You were faster than me @awvwgk ;) I also tested the |
Hmm, now I want to have timers in test-drive and stdlib, do we have an issue already for this? |
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.
Thahnk you.
Here are some minor comments
I suggest that something like this is stated in the specs to help guide users. |
Looks like this is good to be merged? @jvdp1, any further comments? |
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.
LGTM. Thank you @awvwgk
Closes #568