Skip to content

A couple perf improvements #864

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Apr 14, 2025
Merged

A couple perf improvements #864

merged 13 commits into from
Apr 14, 2025

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