5 ms·
I've used mongoose in the past to embed http servers to C++ programs. Would be interesting to see how this performs in comparison. https://github.com/cesanta/m
by nurettin 9y ago
I've used mongoose in the past to embed http servers to C++ programs. Would be interesting to see how this performs in comparison.
https://github.com/cesanta/mongoose https://github.com/cesanta/mongoose
Here's me attempting to optimize REST routing by using Google's re2 regex library to reduce the list of possible regexes that might match a given URL:
https://github.com/nurettin/pwned/blob/master/server/server.hpp#L121 https://github.com/nurettin/pwned/blob/master/server/server....
FilteredRE2
https://github.com/google/re2/blob/master/re2/filtered_re2.h https://github.com/google/re2/blob/master/re2/filtered_re2.h