[PR #310] [MERGED] Improve CompactPrefixTree's memory footprint #932

Open
opened 2026-01-29 14:47:27 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/xoofx/markdig/pull/310
Author: @MihaZupan
Created: 2/21/2019
Status: Merged
Merged: 2/25/2019
Merged by: @xoofx

Base: masterHead: master


📝 Commits (1)

  • bba3ef0 Improve CompactPrefixTree's memory footprint

📊 Changes

2 files changed (+175 additions, -64 deletions)

View changed files

📝 src/Markdig/Extensions/Emoji/EmojiParser.cs (+1 -1)
📝 src/Markdig/Helpers/CompactPrefixTree.cs (+174 -63)

📄 Description

Drops CompactPrefixTree's allocations to about half. As a result build times are also lower by about 50%.


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

## 📋 Pull Request Information **Original PR:** https://github.com/xoofx/markdig/pull/310 **Author:** [@MihaZupan](https://github.com/MihaZupan) **Created:** 2/21/2019 **Status:** ✅ Merged **Merged:** 2/25/2019 **Merged by:** [@xoofx](https://github.com/xoofx) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`bba3ef0`](https://github.com/xoofx/markdig/commit/bba3ef04eed302922ebc158d27567091664041e2) Improve CompactPrefixTree's memory footprint ### 📊 Changes **2 files changed** (+175 additions, -64 deletions) <details> <summary>View changed files</summary> 📝 `src/Markdig/Extensions/Emoji/EmojiParser.cs` (+1 -1) 📝 `src/Markdig/Helpers/CompactPrefixTree.cs` (+174 -63) </details> ### 📄 Description Drops CompactPrefixTree's allocations to about half. As a result build times are also lower by about 50%. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 14:47:28 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#932