Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce the overhead of Parse calls #637

Merged
merged 2 commits into from
Jun 7, 2022

Conversation

MihaZupan
Copy link
Collaborator

@MihaZupan MihaZupan commented May 14, 2022

Saves 8 % (~65 ns) on my machine when parsing Markdown.Parse("foo", _pipeline) with

new MarkdownPipelineBuilder().UsePreciseSourceLocation();

and 15 % (~150 ns) with UseAdvancedExtensions.

@xoofx xoofx merged commit 96f55d0 into xoofx:master Jun 7, 2022
@xoofx
Copy link
Owner

xoofx commented Jun 7, 2022

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants