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

Compiler optimization: "Execute" Switch node statically #2262

Closed
RunDevelopment opened this issue Oct 13, 2023 · 0 comments · Fixed by #2477
Closed

Compiler optimization: "Execute" Switch node statically #2262

RunDevelopment opened this issue Oct 13, 2023 · 0 comments · Fixed by #2477
Labels
Backend Issue or PR for the backend server

Comments

@RunDevelopment
Copy link
Member

image

The switch node is essentially a compile-time switch right now. Since we statically know which connection it will pass on, we can "exectue" the node during chain optimization before the actual execution. The main advantage to that is that only the selected input will be computed.

@RunDevelopment RunDevelopment added the Backend Issue or PR for the backend server label Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend Issue or PR for the backend server
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant