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

Address overflow in find_last_node_handle #63

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

amandasystems
Copy link

I had some problems with find_last_node_handle() smashing its stack. This PR replaces the recursive version with an iteration that should have similar performance characteristics and which can safely parse inputs that the previous version could not.

I wish I had a copy of the document that caused the issue; unfortunately the crash was deep enough in processing the CommonCrawl dataset that it was difficult to find the HTML.

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