Skip to content

Conversation

@slevin
Copy link
Collaborator

@slevin slevin commented Aug 16, 2025

Previously, when an Extent was added, resource names are all calculated using Mirror.
This is a moderately heavy cost that is paid for every time, but only used in debugging.
Now we run the naming process only when we need it.

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Sean Levin added 5 commits August 16, 2025 10:46
…tent

- wasn't failing before because xcodebuild wasn't running these quickspec tests
- doesn't look like it is supported in code
- Move debug name resolution from extent initialization to lazy loading
- Reduces expensive Mirror reflection calls during extent creation
@slevin slevin changed the title Lazy load resource names. (Merge after Fix Tests) Lazy load resource names. Aug 16, 2025
@slevin slevin merged commit 8d0ccfc into master Aug 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants