Performance of the regex crate


I have a question regarding the performance of the regex crate. In particular I am wondering how Rust handles memory for regex compilation - is there anything to worry about in the embedded context?

I am asking because I am thinking about using Rust in an embedded project which is based on a C library that has a really poor support of the regex. So I would like to use Rust ffi and delegate the pattern matching to Rust.

Appreciate all the answers, thanks in advance,

Sorry, but I don't understand your question. Could you please elaborate? What kind of things are you worried about?