Files
gnucash/libgnucash
Christian Stimming 1e3a445007 Optimize calls to get_path_kvp so that std::strings are not always created and deleted immediately.
Turns out that the on-the-fly conversion from const char* (the KVP_OPTION_PATH
constants) to std::string with their immediate deletion afterwards is
a quite costly operation. Avoiding this is surprisingly easy: Just keep
local std::string objects at hand, and they don't have to be created
and deleted anymore.

The more optimized solution might be to turn the std::vector<std::string>
into a std::vector<GQuark>, but this commit at least improves the picture for now.
2018-06-17 22:51:16 +02:00
..
2018-05-03 23:18:15 +02:00
2018-05-03 23:18:15 +02:00
2018-05-03 23:18:15 +02:00
2018-05-03 23:18:15 +02:00
2018-05-03 23:18:15 +02:00