Skip to content

Commit

Permalink
Fix quadratic time on backticks
Browse files Browse the repository at this point in the history
This commit adds a cache `StateInline->backticks` which remembers
positions for every possible backtick closer (`, ``, ```, etc.).

Algorithm is similar to one described here:
mity/md4c@685b714

close #733
  • Loading branch information
rlidwka committed Nov 20, 2020
1 parent 1d18c8a commit b96afeb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- `[](<foo<bar>)` is no longer a valid link.
- Fix performance issues when parsing links, #732.
- Fix performance issues when parsing backticks, #733.


## [12.0.2] - 2020-10-23
Expand Down

0 comments on commit b96afeb

Please sign in to comment.