coregex v0.7.0 Released - OnePass DFA for 10x Faster Capture Groups #1
kolkov
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
coregex v0.7.0 is here!
We are excited to announce coregex v0.7.0 with OnePass DFA optimization for capture group extraction.
What is OnePass DFA?
OnePass DFA is a specialized automaton that can extract capture groups in a single forward pass without backtracking. It works for patterns where at each byte position, there is only one possible transition.
Performance Improvements
Patterns That Benefit
(\d+)-(\d+)-(\d+)([a-z]+)=([^;]+)([a-z]+)\s+([a-z]+)a(b|c)dHow It Works
coregex automatically detects if a pattern is one-pass compatible and uses the optimized engine. No code changes required!
Full Release Notes
https://github.com/coregx/coregex/releases/tag/v0.7.0
Installation
We would love to hear your feedback! Please share your use cases and benchmark results.
Beta Was this translation helpful? Give feedback.
All reactions