summaryrefslogtreecommitdiffstats
path: root/src/common/param_package.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* param_package: Take std::string by value in string-based Set() functionLioncash2018-07-201-3/+5
| | | | | Allows avoiding string copies by letting the strings be moved into the function calls.
* param_package: Use std::unordered_map's insert_or_assign instead of map indexingLioncash2018-07-201-3/+3
| | | | | | | | | | | 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).
* param_package: Get rid of file-static std::string constructionLioncash2018-07-201-3/+4
| | | | Avoids potential dynamic allocation occuring during program launch
* Rename logging macro back to LOG_*James Rowe2018-07-031-6/+6
|
* common: Move logging macros over to new fmt-capable macros where applicableLioncash2018-04-271-6/+6
|
* Common: add ParamPackagewwylele2017-03-011-0/+120