The current CookieParser::before_handle implementation creates several std::string objects during the parsing of the Cookie header value. This can be optimized by using std::string_view to slice the header string directly.
Addresses the todo at:
|
// TODO(dranikpg): remove copies, use string_view with c++17 |
Activity