equal
deleted
inserted
replaced
49 integer_t valueCount = 0; |
49 integer_t valueCount = 0; |
50 integer_t columnCount = 0; |
50 integer_t columnCount = 0; |
51 integer_t relationCount = 0; |
51 integer_t relationCount = 0; |
52 |
52 |
53 const std::string escapeXmlText(const string_t &value) { |
53 const std::string escapeXmlText(const string_t &value) { |
|
54 // TODO: really bad performance → rewrite |
|
55 // 72 % of whole relpipe-out-xml according to valgrind/callgrind |
54 std::wstringstream result; |
56 std::wstringstream result; |
55 |
57 |
56 for (auto & ch : value) { |
58 for (auto & ch : value) { |
57 switch (ch) { |
59 switch (ch) { |
58 case L'&': result << L"&"; |
60 case L'&': result << L"&"; |