-
Notifications
You must be signed in to change notification settings - Fork 334
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
remove all refops if a basic block is a raising block #1045
Conversation
hasDecrefInNode
and hasAnyDecrefInNode
if it's a raise
blockisRaising
check ahead before hasDecref
check in refprune
isRaising
check ahead before hasDecref
check in refprune
Hi, @sklam. This is another small improvement for ref-pruning. It can enjoy your review! Thanks |
Hi, any comment for this PR and the related issue? cc @esc |
@dlee992 I suppose this ought to make |
Yeah, I will make up one test case for it ASAP (probably tmr). |
Actually, this one could be quite tricky to prove, and I don't have an existing reproducer/benchmark to show the performance benefits. So close it for now. |
A possible way to
fix #1044
Notes for reviewers: