This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jkloth
Recipients jkloth
Date 2022-03-26.19:15:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1648322149.94.0.511947690727.issue47131@roundup.psfhosted.org>
In-reply-to
Content
The string building and comparing of ast.dump() causes significant slowdowns on the large ASTs produced when doing the roundtrip test on the stdlib.

This PR avoids that cost by doing a direct node traversal and comparison.  It results in a 33% runtime improvement on machines to which I have access.
History
Date User Action Args
2022-03-26 19:15:49jklothsetrecipients: + jkloth
2022-03-26 19:15:49jklothsetmessageid: <1648322149.94.0.511947690727.issue47131@roundup.psfhosted.org>
2022-03-26 19:15:49jklothlinkissue47131 messages
2022-03-26 19:15:49jklothcreate