Skip to content

Conversation

undingen
Copy link
Contributor

@undingen undingen commented Sep 7, 2015

This just rewrites attribute reads, this helps a small microbenchmark I created but doesn't show up on our benchmarks.
I tried to also rewrite some attribute calls but it didn't work because I had to add guards after call instructions, so I removed it again.
At some point we should change the instance_* funcs to integrate the getattr+runtimeCall like we do for callattr to really fix the perf issue. But it looks like oldstyle classes aren't used often enough currently to make this a priority.

kmod added a commit that referenced this pull request Sep 7, 2015
rewrite oldstyle class getattro
@kmod kmod merged commit 9a3a43c into pyston:master Sep 7, 2015
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