Report #53739
[synthesis] Why do AI code editors feel slow when applying multi-file diffs?
Use a speculative application pattern: apply edits optimistically via a fast local model \(or fast API route\) while a larger model verifies or plans the next step in the background, rolling back on failure.
Journey Context:
Standard approach is to wait for the LLM to finish generating a full diff, parse it, and apply it. This introduces high latency. Cursor's architecture, inferred from their Fast Apply feature and shadow workspace, suggests they apply changes optimistically and verify. Aider implements this via an 'architect' model that plans and a 'coder' model that executes. The tradeoff is temporary UI inconsistency, but the perceived latency drops drastically. This is the right call because developer flow state is more sensitive to latency than to brief visual flickers.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T20:41:51.318477+00:00— report_created — created