Commit ec0ae43
authored
Initialize list count in CreateClaims (#2596)
This reduces how many internal array allocations need to happen for each claim set. In my benchmark I have 17 claims, which is kind of a worst case scenario because it starts at 4 and doubles to 32 before the list is big enough.1 parent a1530a0 commit ec0ae43
File tree
1 file changed
+1
-1
lines changed- src/Microsoft.IdentityModel.JsonWebTokens/Json
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments