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

Add min and max derivative support #65

Conversation

marcin-golebiowski
Copy link
Member

@marcin-golebiowski marcin-golebiowski commented May 15, 2021

PR adds min and max derivative support.
It's warming up before implementation of LIMIT

@svenboulanger
Copy link
Member

svenboulanger commented May 15, 2021

Why two conditionals and 1 addition when it can be done with one conditional?

[Edit] Please try to minimize the number of instructions needed. The building of expression nodes can be slow, but the compiled expressions should be light-weight and fast as they will be executed many many times. I think it's worth it to minimize the number of instructions there.

@marcin-golebiowski
Copy link
Member Author

@svenboulanger I've simplified the logic and now there is only one conditional.

@svenboulanger svenboulanger merged commit dc8b0e6 into SpiceSharp:development May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants