Skip to content

Conversation

@Forgind
Copy link
Contributor

@Forgind Forgind commented Jun 27, 2022

The change to logging environment variables (#7484) included essentially switching an if (condition) throw; to a VerifyThrow call. The VerifyThrow call creates the string that would be used in the throw eagerly, which is bad for a hot path like this.

@rainersigwald rainersigwald added this to the VS 17.3 milestone Jun 27, 2022
@MichalPavlik MichalPavlik merged commit b91fc65 into dotnet:main Jun 28, 2022
rainersigwald added a commit that referenced this pull request Jun 30, 2022
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