CoordinateSystem.instance is read on every conversion while drawing. It now remembers whether the last zone that asked was a capture, so the lookup costs a pointer comparison. Measured at about 5 ns a call inside a capture or out of one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Dara Adedeji committed on 10/19/2026, 3:59:30 AMparentfd8a351
Checks
- SuccessfulCodeRabbitGitHub
Review skipped: reviews are disabled for this base branch
- SkippedconvexGitHub
- SkippedanalyzeGitHub
- Skippedlinux-buildGitHub
- Skippednative-replayGitHub
- Skippedpresence-workerGitHub
- Skippednative-bridgeGitHub
- Skippedclient-contractGitHub
- Skippedwindows-testGitHub
- Skippedwindows-buildGitHub
- Successfultest (shard 0)GitHub
- Failedtest (shard 1)GitHub
- SuccessfulwebGitHub
- SuccessfulchangesGitHub
1 file changedLine totals unavailable