You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider using an event-based system for emitting tokens when parsing the Markdown document. There are a number of related features that could execute in parallel to speed up document processing. Consider the following Markdown document:
# Chaptar 1
"Hallo, world!" she didn't say ... he did
When building the AST, having a quote curler, spell checker, and grammar engine receive emitted tokens would greatly improve overall performance because they could do so in their own processing threads. The given sample document could emit, for example, the following tokens:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Consider using an event-based system for emitting tokens when parsing the Markdown document. There are a number of related features that could execute in parallel to speed up document processing. Consider the following Markdown document:
When building the AST, having a quote curler, spell checker, and grammar engine receive emitted tokens would greatly improve overall performance because they could do so in their own processing threads. The given sample document could emit, for example, the following tokens:
This is enough information to build the Markdown AST, curl quotation marks, check spelling, and verify grammar.
Beta Was this translation helpful? Give feedback.
All reactions