mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-16 05:55:42 +00:00
[PR #529] [MERGED] Cache the MarkdownParser & Processors #1093
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/xoofx/markdig/pull/529
Author: @MihaZupan
Created: 3/12/2021
Status: ✅ Merged
Merged: 3/15/2021
Merged by: @xoofx
Base:
master← Head:cache-parsers📝 Commits (2)
80ed85eCache the MarkdownParser & Processors2f95884Add missing null check📊 Changes
6 files changed (+238 additions, -193 deletions)
View changed files
📝
src/Markdig/Markdown.cs(+3 -3)📝
src/Markdig/Parsers/BlockProcessor.cs(+70 -67)📝
src/Markdig/Parsers/InlineProcessor.cs(+78 -20)📝
src/Markdig/Parsers/MarkdownParser.cs(+76 -100)📝
src/Markdig/Polyfills/NullableAttributes.cs(+9 -1)📝
src/Markdig/Syntax/Block.cs(+2 -2)📄 Description
MarkdownParseris made static (had private ctor before)Block/InlineProcessorgot a set of Setup/Rent/Reset/Release methodsBefore:

After:

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.