SIGN IN SIGN UP

Rollup merge of #161258 - xmakro:perf/in-external-macro-root-fast-path, r=petrochenkov

perf: return early from in_external_macro for root contexts

This line was hot when profiling clippy-driver. With this change, clippy instructions reduce for ryu -1.01%, syn -0.21%, regex -0.20%.

r? @petrochenkov
J
Jonathan Brouwer committed
bb0dea04160c3f39b89cdc79cdc9eb96c80f1249
Committed by GitHub <noreply@github.com> on 8/18/2026, 11:32:25 AM