Skip to content

Compiler optimization: "Execute" Switch node statically #2262

@RunDevelopment

Description

@RunDevelopment

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BackendIssue or PR for the backend server

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions