Turn Configuration keys from std::string to constexpr const char* for better startup performance

This commit is contained in:
Alexander Bock
2018-03-08 19:24:03 +01:00
parent ae3b6fe850
commit 9709b22bac
6 changed files with 194 additions and 142 deletions
@@ -76,7 +76,7 @@ namespace {
// [VEC2 ARRAY] Values should be entered as {X, Y}, where X & Y are numbers
constexpr const char* KeyColorTableRanges = "ColorTableRanges";
// [VEC2 ARRAY] Values should be entered as {X, Y}, where X & Y are numbers
constexpr const char* KeyMaskingRanges = "MaskingRanges"
constexpr const char* KeyMaskingRanges = "MaskingRanges";
// [STRING] Value should be path to folder where states are saved (JSON/CDF input
// => osfls output & oslfs input => JSON output)
constexpr const char* KeyOutputFolder = "OutputFolder";