Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Improve performance of Activator.CreateInstance #32520
Improve performance of Activator.CreateInstance #32520
Changes from 18 commits
d0bde83
67539c2
edf3858
c5ae79f
e09e91b
17a3bde
2467fdd
eb368eb
b85fb74
faeef8c
bdb403a
c173fda
5c52acd
a1c362c
3ce9c41
904b25d
1f6434a
c1ecb07
a071262
dc417fd
6904495
05c35a8
3d8515a
5acef41
adfae42
49a8de1
98c7941
0a443c2
3b34ae6
6e1b7cd
b588d5d
55aa128
0ef275c
4c1f5dd
97f5f60
867bdc0
2e44013
9c267fd
bead4c6
8f12dd8
3a2021d
46ed0b8
d3bc632
3f362f2
879937b
93bcedb
e04401f
9887e9a
186fd83
4d3d9db
036cbf0
882b63e
0b0c8db
c50d287
e2235cc
cebbf48
d373fe7
12b4578
a7fa617
3e9438c
9c20d84
4b38b6c
9ed2b9b
0ebebd6
374cf34
6b23817
11be754
5d43a91
0635399
9ac3c3f
a06ef73
1b1261f
94f8614
c73e9fa
359a588
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why a new variable here instead of just using
pMT
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need to pass a pointer (arg is typed as
MethodTable**
). Using a temp local was more straightforward than pinning the incoming pMT argument. Using locals also ensures that I can initialize both values to default, regardless of any shenanigans pulled by the caller.