Uh oh!
There was an error while loading. Please reload this page.
GH-92123: Move _elementtree heap types to module state - #101187
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.
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. |
arhadthedev
commented
Jan 21, 2023
Both variants ultimately call If so, we need an informed decision by benchmarking some |
|
erlend-aasland
commented
Jan 22, 2023
I ran the pyperformance |
kumaraditya303
commented
Jan 23, 2023
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.