Skip to content

Backport: Add claims dictionary preallocation (#3542) to dev8x#3548

Closed
rishiprakash-microsoft wants to merge 1 commit into
AzureAD:dev8xfrom
rishiprakash-microsoft:cherry-pick/pr3542-to-dev8x
Closed

Backport: Add claims dictionary preallocation (#3542) to dev8x#3548
rishiprakash-microsoft wants to merge 1 commit into
AzureAD:dev8xfrom
rishiprakash-microsoft:cherry-pick/pr3542-to-dev8x

Conversation

@rishiprakash-microsoft

Copy link
Copy Markdown

Cherry-pick of #3542 (squash commit 43a457b) onto dev8x.

Clean apply, no conflicts. Files: JsonWebToken.HeaderClaimSet.cs, JsonWebToken.PayloadClaimSet.cs, JsonClaimSetTests.cs.

* Add claims dictionary presizing

* Add unit tests for edge cases

---------

Co-authored-by: Zhenya Polyvanyi <iepoly@microsoft.com>
@rishiprakash-microsoft
rishiprakash-microsoft requested a review from a team as a code owner July 15, 2026 22:34
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