Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use next if eq rather than peek * prefer next if eq over peek then next * Remove some intermediate variables * Try to avoid reallocations of the html string. Guess is length of the token vec * 100bytes * Remove unused note text variable * One more peek-next pattern * Simplify match in push_str * Use raw unwrap * Simplify newline lex * Simplify side carrot lex * Simplify plus minus lex * Small cleanup in parse_details * May as well check length while also checking prefix and suffix
- Loading branch information
Showing
2 changed files
with
56 additions
and
108 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