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

Optimize && operator #1

Open
dedmen opened this issue Apr 9, 2019 · 0 comments
Open

Optimize && operator #1

dedmen opened this issue Apr 9, 2019 · 0 comments

Comments

@dedmen
Copy link
Owner

dedmen commented Apr 9, 2019

baermitumlaut [5:01 PM]
@dedmen another optimization idea: transform BOOL && BOOL to BOOL && CODE

dedmen [5:03 PM]
Yeah. Thought about that but wasn't sure if there might be any caveats that are complicated to solve maybe.
More specifically, I thought about adding a "lazy compare" script function/instruction. That you just give a array of code to.
That does real lazy eval. And not still evaluate all the other &&'s even though it's already false.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant