3Hren / blackhole

Yet another logging library.
MIT License
201 stars 57 forks source link

Optimize JSON formatter: unnecessary string conversions #147

Open 3Hren opened 8 years ago

3Hren commented 8 years ago

There are some maps with std::string. However an attribute name is a std::string_view, and without c++17 it's required to always convert view into string to perform find operation.

This can be optimized.