Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change logic in utils.extract_nodes() #425

Merged
merged 1 commit into from
Nov 6, 2023
Merged

Change logic in utils.extract_nodes() #425

merged 1 commit into from
Nov 6, 2023

Conversation

gnott
Copy link
Member

@gnott gnott commented Nov 6, 2023

extract_nodes() is used often. Beautifulsoup's find_all() is slower then reading the tag's descendants and filtering them by name and attribute value. This is satisfying the test cases and providing a small speed improvement.

@gnott gnott merged commit 5901df2 into develop Nov 6, 2023
2 checks passed
@gnott gnott deleted the extract-nodes branch November 6, 2023 17:03
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.

None yet

1 participant