Skip to content

Conversation

@pjfanning
Copy link
Member

@pjfanning pjfanning commented Jul 15, 2025

A small step towards dealing with the O(n^2) performance in key parts of XMLBeans.

https://issues.apache.org/jira/browse/XMLBEANS-438

I have temporarily the sSIMPLE tests because they fail on my Mac (even before these changes) to case sensitive file names. I will add back those tests before attempting to merge any of the code changes in this PR.

@pjfanning pjfanning changed the title Add remove elements methods Add methods to add or remove multiple elements Jul 15, 2025
@pjfanning pjfanning marked this pull request as draft July 15, 2025 22:06
Update Xobj.java

debug test

add element

partial revert of add changes

extra add methods

try to use add again

Update XmlComplexContentImpl.java

revert some code to fix compile test

Update XmlComplexContentImpl.java

fix remove

Update Xobj.java

refactor

Update XmlComplexContentImpl.java

refactor to do some bulk finds

another refactor to improve perf

see if I can remove complicated and inefficient code

Revert "see if I can remove complicated and inefficient code"

This reverts commit e8779ad.

avoid find_element_user

Update XmlComplexContentImpl.java

version

Update XmlComplexContentImpl.java
@pjfanning
Copy link
Member Author

merged with c1c6bdc

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant