Performance tweaks (#54321)

Release Notes:

- N/A or Added/Fixed/Improved ...
a62ae579abLukas Wirth committed on 4/21/2026, 7:25:22 AM· committed by GitHubparent040b03b
21 files changedLine totals unavailable