# HG changeset patch # User František Kučera # Date 1545135008 -3600 # Node ID 0fb84b194a8f3b244f51ca3ec71ebcda0f9f366e # Parent c43219cf6a024e121aaf8b237766b831d5a5c95c todo: performance diff -r c43219cf6a02 -r 0fb84b194a8f src/XmlHandler.h --- a/src/XmlHandler.h Sun Dec 09 23:27:22 2018 +0100 +++ b/src/XmlHandler.h Tue Dec 18 13:10:08 2018 +0100 @@ -51,6 +51,8 @@ integer_t relationCount = 0; const std::string escapeXmlText(const string_t &value) { + // TODO: really bad performance → rewrite + // 72 % of whole relpipe-out-xml according to valgrind/callgrind std::wstringstream result; for (auto & ch : value) {