Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make ITargetHolder methods non-generic to avoid costly lookup at runtime #9168

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ReubenBond
Copy link
Member

@ReubenBond ReubenBond commented Oct 9, 2024

This avoids a relatively expensive generic interface method lookup on the hot invocation path.
This is a binary breaking change: it would require that libraries are re-built so that source can be re-generated. For that reason, we should probably not merge this in a v8.x release, saving it for v9.0 instead.

Microsoft Reviewers: Open in CodeFlow

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.

1 participant