Skip to content

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.

@rukai rukai force-pushed the swap-to-regex-lite branch from 183e6f9 to bca6f29 Compare February 5, 2024 03:48
@rukai rukai force-pushed the swap-to-regex-lite branch from bca6f29 to 4ea286b Compare February 5, 2024 03:49
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