Skip to content

Commit 2e9cdea

Browse files
jkotasbenaadams
andauthored
Optimise GetCustomAttributes - Part 1 (#53152)
- Use is/is not instead of ==/!=. Avoids overhead from operator overloading - Pass ListBuilder as ref instead of out. Avoids redundant initialization to default. - Use HashSet instead of Dictionary. Co-authored-by: Ben Adams <[email protected]>
1 parent 34e6bb4 commit 2e9cdea

File tree

1 file changed

+143
-145
lines changed

1 file changed

+143
-145
lines changed

0 commit comments

Comments
 (0)