# Skip the zone lookup for the zone that asked last · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/8c154dd8968b824c3419e25d0ba6fbea8510f4ae)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: 8c154dd8968b824c3419e25d0ba6fbea8510f4ae

Requested commit: 8c154dd8968b824c3419e25d0ba6fbea8510f4ae

Commit: 8c154dd8968b824c3419e25d0ba6fbea8510f4ae

Tree: 62c494aa9ae49c4f74bd1e7d4b24b32d6a68601f

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Skip the zone lookup for the zone that asked last

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>

```

## Parents

- [fd8a351934c231fb1b4d345c59ef93d009e83b8f](https://git.cafe/dara/icarus/commit/fd8a351934c231fb1b4d345c59ef93d009e83b8f?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/8c154dd8968b824c3419e25d0ba6fbea8510f4ae?format=markdown)
