summaryrefslogtreecommitdiff
path: root/src/common/param_package.cpp
AgeCommit message (Collapse)Author
2018-07-20param_package: Take std::string by value in string-based Set() functionLioncash
Allows avoiding string copies by letting the strings be moved into the function calls.
2018-07-20param_package: Use std::unordered_map's insert_or_assign instead of map indexingLioncash
This avoids a redundant std::string construction if a key doesn't exist in the map already. e.g. data[key] requires constructing a new default instance of the value in the map (but this is wasteful, since we're already setting something into the map over top of it).
2018-07-20param_package: Get rid of file-static std::string constructionLioncash
Avoids potential dynamic allocation occuring during program launch
2018-07-02Rename logging macro back to LOG_*James Rowe
2018-04-26common: Move logging macros over to new fmt-capable macros where applicableLioncash
2017-03-01Common: add ParamPackagewwylele