Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
GH-92123: Move _elementtree heap types to module state#101187
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
GH-92123: Move _elementtree heap types to module state#101187
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Pass state as an argument to Element_CheckExact()
Pass state as an argument to Element_Check()
Pass state as an argument to TreeBuilder_CheckExact()
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Uh oh!
There was an error while loading.Please reload this page.
erlend-aasland commentedJan 21, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Thanks for the reviews, Kumar and Oleg! For the path forward, there are two options: either pass state as a parameter, or store it in the type structs. I've created draft PRs for the two alternatives. Of course, a third path is a combination of both. |
Both variants ultimately call If so, we need an informed decision by benchmarking some |
erlend-aasland commentedJan 21, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
|
I ran the pyperformance |
It won't matter as expected as most of the time as long as there isn't much stack spilling the performance should be identical. |
Uh oh!
There was an error while loading.Please reload this page.