Switching costs are real
Every time you switch between tasks, tools, or codebases, there's a ramp-up period before you're actually productive again. It's not just the time to open the right files. It's rebuilding the mental model of where you left off.
The most productive stretches tend to come from staying in one problem long enough to get deep into it. Protecting that focus is worth more than most process optimizations.