mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
[PR #521] [MERGED] Random perf improvements #1077
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/521
Author: @MihaZupan
Created: 3/7/2021
Status: ✅ Merged
Merged: 3/10/2021
Merged by: @xoofx
Base:
master← Head:random-perf-2📝 Commits (4)
ae25a8fReduce the size of MarkdownObject by 1 pointer sizedb1021aAvoid minor allocations in ProcessInlines loopa3ce190Cache renderers for custom writers4f9119fMerge master📊 Changes
6 files changed (+336 additions, -249 deletions)
View changed files
📝
src/Markdig.Tests/TestMarkdigCoreApi.cs(+102 -63)📝
src/Markdig/Markdown.cs(+54 -50)📝
src/Markdig/MarkdownPipeline.cs(+54 -17)📝
src/Markdig/Parsers/MarkdownParser.cs(+18 -31)📝
src/Markdig/Renderers/TextRendererBase.cs(+8 -3)📝
src/Markdig/Syntax/MarkdownObject.cs(+100 -85)📄 Description
Brings over some of the changes from #499:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.