mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-14 21:47:13 +00:00
[PR #622] [MERGED] Vectorize CharacterMap.IndexOfOpeningCharacter #1146
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/622
Author: @MihaZupan
Created: 4/15/2022
Status: ✅ Merged
Merged: 4/20/2022
Merged by: @xoofx
Base:
master← Head:simd-character-map📝 Commits (1)
da756f4Vectorize CharacterMap.IndexOfOpeningCharacter📊 Changes
1 file changed (+85 additions, -0 deletions)
View changed files
📝
src/Markdig/Helpers/CharacterMap.cs(+85 -0)📄 Description
A 1-2.5% improvement for parsing (on x86 LE hardware only for now)
For long runs without an opening character, the vectorized loop is ~8x faster.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.