-
-
Notifications
You must be signed in to change notification settings - Fork 6
coregex v0.7.0 Released - OnePass DFA for 10x Faster Capture Groups #1
kolkov
announced in
Announcements
-
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
How It Workscoregex automatically detects if a pattern is one-pass compatible and uses the optimized engine. No code changes required! re := coregex.MustCompile(`(\d+)-(\d+)-(\d+)`) match := re.FindStringSubmatch("2025-11-28") // Automatically uses OnePass DFA - 10x faster! Full Release Noteshttps://github.com/coregx/coregex/releases/tag/v0.7.0 Installationgo get github.com/coregx/coregex@v0.7.0 We would love to hear your feedback! Please share your use cases and benchmark results. |
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment