Skip to content

gh-152674: Avoid quadratic behavior in xml.etree.ElementPath index predicates#152676

Open
encukou wants to merge 5 commits into
python:mainfrom
encukou:adf1
Open

gh-152674: Avoid quadratic behavior in xml.etree.ElementPath index predicates#152676
encukou wants to merge 5 commits into
python:mainfrom
encukou:adf1

Conversation

@encukou

@encukou encukou commented Jun 30, 2026

Copy link
Copy Markdown
Member

DarkaMaul and others added 4 commits June 30, 2026 13:20
Co-Authored-By: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
@encukou encukou changed the title Avoid quadratic behavior in xml.etree.ElementPath index predicates gh-152674: Avoid quadratic behavior in xml.etree.ElementPath index predicates Jun 30, 2026
@encukou encukou requested a review from serhiy-storchaka June 30, 2026 12:28

@serhiy-storchaka serhiy-storchaka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. 👍

I wonder if we need to save the cache in context, like parent_map.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants