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

Remove object[] allocation from InMemoryCryptoProviderCache.GetCacheKeyPrivate #2181

Merged
merged 1 commit into from
Jul 27, 2023

Conversation

stephentoub
Copy link
Collaborator

There's a params object[] being allocated. On .NET 6+, using an interpolated string will avoid that. On < .NET 6, it'll be exactly what it was before (InvariantCulture isn't needed as nothing here is affected by culture).

…eyPrivate

There's a params object[] being allocated. On .NET 6+, using an interpolated string will avoid that. On < .NET 6, it'll be exactly what it was before (InvariantCulture isn't needed as nothing here is affected by culture).
@jennyf19 jennyf19 added this to the 7.0.0-preview2 milestone Jul 27, 2023
Copy link
Collaborator

@jennyf19 jennyf19 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reviewed as a team. approved

@jennyf19 jennyf19 merged commit d228169 into AzureAD:dev7x Jul 27, 2023
brentschmaltz pushed a commit that referenced this pull request Jul 28, 2023
…eyPrivate (#2181)

There's a params object[] being allocated. On .NET 6+, using an interpolated string will avoid that. On < .NET 6, it'll be exactly what it was before (InvariantCulture isn't needed as nothing here is affected by culture).
brentschmaltz pushed a commit that referenced this pull request Sep 6, 2023
…eyPrivate (#2181)

There's a params object[] being allocated. On .NET 6+, using an interpolated string will avoid that. On < .NET 6, it'll be exactly what it was before (InvariantCulture isn't needed as nothing here is affected by culture).
brentschmaltz pushed a commit that referenced this pull request Sep 7, 2023
…eyPrivate (#2181)

There's a params object[] being allocated. On .NET 6+, using an interpolated string will avoid that. On < .NET 6, it'll be exactly what it was before (InvariantCulture isn't needed as nothing here is affected by culture).
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.

2 participants