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

swap to regex-lite #16

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

rukai
Copy link
Member

@rukai rukai commented Feb 5, 2024

regex-lite is by the same author as the regex crate.
https://github.com/rust-lang/regex/tree/master/regex-lite#motivation

It compiles in 0.73s instead of 1.93s and takes up 94KB in the compiled binary instead of 565KB
Reference https://github.com/rust-lang/regex/tree/master/regex-lite#motivation

This does come with some cost to regex performance, however, this library uses regex solely while waiting for a docker instance to come up, as such a slower regex wont slow us down as we are already waiting around.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants