Skip to content

Conversation

@Snezhkko
Copy link
Contributor

This change removes redundant compilation and execution for non-run() inputs in Chisel’s dispatcher by guarding the inspect() call behind do_execute. clone_with_new_line already determines whether the snippet targets run(); only in that case does inspection provide value for expression introspection and flow control. Contract/global declarations now skip the inspector path and only build once, preserving behavior for run() snippets while reducing allocations and compile time for declarations.

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

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant