-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: avoid collecting iterator during token resolving (#112)
* fix: avoid collecting iterator in `TokenResolver` * fix: add test cases for bold ambiguous start and end * fix: remove unnecessary checks on symbol flattening * fix: remove redundant check for interruption of tokens * fix: use global substitutor to prevent repeated allocs * fix: remove dead code * fix: optimize resolving interrupted tokens as plain * fix: use `fxhash` for faster hashing in substitutor * fix: re-enable optimized debug assertions in Symbol::flatten * fix: use alias for TokenMap keys * chore: remove unused dependency * fix: don't clone iterator if there's no need to
- Loading branch information
Showing
13 changed files
with
443 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.