perf(semantic): inline enter_kind CFG statement handling#17433
Conversation
CodSpeed Performance ReportMerging #17433 will not alter performanceComparing Summary
Footnotes
|
c4effd2 to
61bb03e
Compare
eaf8531 to
a1cd171
Compare
61bb03e to
ed105c6
Compare
There was a problem hiding this comment.
Pull request overview
This PR optimizes performance by inlining CFG (Control Flow Graph) statement handling instead of using a centralized approach. The refactoring moves enter_statement calls from the centralized enter_kind method directly into individual statement visitor methods.
- Removes the centralized CFG statement handling logic from
enter_kind - Adds inline
control_flow!macro calls to each statement visitor method afterenter_node - Creates new visitor method overrides for statements that previously used default walking behavior
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
a1cd171 to
d08356e
Compare
ed105c6 to
27acfd6
Compare
Merge activity
|
27acfd6 to
4a9b302
Compare

Ref #18098