Skip to content
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

feat(engine-js): improve performance for some languages #897

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

slevithan
Copy link
Collaborator

  • Updates oniguruma-to-es to v2.2.0.
    • Reduces Razor errors from 5 to 3 via new support for group names that are invalid JS identifiers but valid in Oniguruma.
  • Applies new option rules.singleline (Oniguruma option ONIG_OPTION_SINGLELINE).
    • Changes transpiled output for ^ and $.
    • Improves performance of some grammars without any change in meaning since TM grammars are applied line by line.
  • Tweaks new perf-related documentation.

Copy link

netlify bot commented Jan 20, 2025

Deploy Preview for shiki-matsu ready!

Name Link
🔨 Latest commit c11e8a6
🔍 Latest deploy log https://app.netlify.com/sites/shiki-matsu/deploys/678de07ff15bbf0008452ca4
😎 Deploy Preview https://deploy-preview-897--shiki-matsu.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jan 20, 2025

Deploy Preview for shiki-next ready!

Name Link
🔨 Latest commit c11e8a6
🔍 Latest deploy log https://app.netlify.com/sites/shiki-next/deploys/678de07fcb67760008f56db6
😎 Deploy Preview https://deploy-preview-897--shiki-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@antfu antfu merged commit e86ca5f into shikijs:main Jan 20, 2025
12 checks passed
@slevithan slevithan deleted the onig-to-es-2-2 branch January 20, 2025 05:47
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