Skip to content

Conversation

raabrp
Copy link
Contributor

@raabrp raabrp commented Mar 28, 2020

util already provides the regex we need for all placeholders, and we're doing extra work parsing for the explicit union of all of them.
In documents with ~30000 placeholders, I get a ~5x speedup with this change.

`util` already provides the regex we need for all placeholders, and we're doing extra work parsing for the explicit union of all of them. In documents with ~30000 placeholders, I get a ~5x speedup with this change.
@waylan
Copy link
Member

waylan commented Mar 28, 2020

Can you add a note to the release notes?

@waylan waylan added the work-in-progress A partial solution. More changes will be coming. label Mar 28, 2020
raabrp added 2 commits March 30, 2020 02:22
Added comment to release note
added </code> tag
@raabrp
Copy link
Contributor Author

raabrp commented Mar 30, 2020

Updated release notes for 3.2 under "bug fixes"

@waylan waylan added approved The pull request is ready to be merged. and removed work-in-progress A partial solution. More changes will be coming. labels Mar 30, 2020
@waylan waylan merged commit c5f1395 into Python-Markdown:master Mar 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved The pull request is ready to be merged.
2 participants