https://github.com/grafana/regexp
Faster version of the Go regexp package
https://github.com/grafana/regexp
Last synced: 11 months ago
JSON representation
Faster version of the Go regexp package
- Host: GitHub
- URL: https://github.com/grafana/regexp
- Owner: grafana
- License: bsd-3-clause
- Created: 2021-12-21T14:40:02.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-06-07T08:29:15.000Z (about 2 years ago)
- Last Synced: 2025-03-28T05:11:19.421Z (over 1 year ago)
- Language: Go
- Size: 521 KB
- Stars: 69
- Watchers: 147
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ccamel - grafana/regexp - Faster version of the Go regexp package (Go)
README
# Grafana Go regexp package
This repo is a fork of the upstream Go `regexp` package, with some code optimisations to make it run faster.
All the optimisations have been submitted upstream, but not yet merged.
All semantics are the same, and the optimised code passes all tests from upstream.
The `main` branch is non-optimised: switch over to [`speedup`](https://github.com/grafana/regexp/tree/speedup) branch for the improved code.
## Benchmarks:
