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
Parsing <<<<<<… takes quadratic time #737
Comments
@andersk can i ask you about source of your testing patterns? For example, we ported pathological tests from commonmark, and closed couple of addiional unrepored bugs. But i'd like to plan work somehow, to fix all at once. PS. Thank you very much for our reports. |
All I did was I write a loop over repetitions of strings on a set of interesting characters that finds the slowest inputs. Then I manually verify the asymptotic behavior of good candidates. I’m not sure if I should publish the code, as simple as it is, given that it’s designed to break Markdown libraries and it seems to be annoyingly good at this… 😞 But I’m happy to share it privately. |
@andersk we closed all perf issues. If you have plans for more tests - le me know, i'll postpone publish. |
The text was updated successfully, but these errors were encountered: