meltwater / served

A C++11 RESTful web server library
MIT License
710 stars 173 forks source link

Remove RE2 dependency or make it optional #33

Closed jpihl closed 6 years ago

jpihl commented 6 years ago

Hi,

I would like to use std::regex instead of RE2, to remove the dependency. Is this something you would be interested in? I found this issue and it seems std::regex is a bit slower than RE2, is this the reason why you are using RE2?

Alternatively I could make RE2 an optional dependency like Ragel. I just don't want to put in the effort if you don't like the idea.

What do you think?