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

Feature/misc optimizations #47

Merged
merged 3 commits into from
Jun 5, 2017

Conversation

gfodor
Copy link
Contributor

@gfodor gfodor commented Jun 4, 2017

This PR adds a few small optimizations:

  • Memoizes ILType#IsValueType
  • Skips generic parameter lookup for non-generic types in ILType#GetMethod
  • Removes memory allocation of foreach enumerator in ILType#GetMethod
  • Extracts common subexpression in RuntimeStack#PushFrame

@liiir1985 liiir1985 merged commit ce622f2 into Ourpalm:master Jun 5, 2017
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