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

micro-optimizations for typemap #16439

Merged
merged 5 commits into from
May 20, 2016
Merged

micro-optimizations for typemap #16439

merged 5 commits into from
May 20, 2016

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented May 19, 2016

while profiling the regressions in #16128, this seemed to give slightly better performance

fix #15541

this lets us catch an extra case, deletes an out-of-date condition,
and is a bugfix if the entry was supposed to have extra attributes to
test (like guardsig) that it was ignoring
this was showing up in the profile,
despite being very cold in branches not taken
this is also closer to the code we want the compiler to emit
I believe this should better match the usage patterns
and is able to unroll more cases and more effectively use that information
@vtjnash vtjnash merged commit 8b1b350 into master May 20, 2016
@vtjnash vtjnash deleted the jn/typemap-patch1 branch May 20, 2016 03:08
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.

Performance regression in dynamic dispatch
1 participant