Skip to content

Conversation

@MihaZupan
Copy link
Collaborator

Improves parsing perf a bit (around 2-4 %).

Logically separated in commits:

  • Removing branches from various character checks (removing redundant conditions in calling code, updating helpers)
  • A bit faster AutoLink and FencedCodeBlock matching
  • Removed per-parsing allocation of delegate captures in AutoIdentifiers
  • Using frozen collections in a few minor places

@xoofx xoofx merged commit 7a83a1f into xoofx:master Apr 14, 2025
1 check passed
@xoofx
Copy link
Owner

xoofx commented Apr 14, 2025

Thanks for the perf improvements!

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