summaryrefslogtreecommitdiffstats
path: root/src/opengl/qopengldebug.cpp
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2024-08-06 22:39:44 +0200
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2024-08-28 02:28:24 +0200
commit2ce08e3671b8d18b0284447e5908ce15e6e8f80f (patch)
tree11008543c4ead04b29e2d5223b7742d93635babb /src/opengl/qopengldebug.cpp
parent00ce45efe16ff440651746a94c62e0d5c1f6e435 (diff)
XML/QDom: speedup encodeText()
The code copied the whole string, then replaced parts inline, at the cost of relocating everything beyond, at each replacement. Instead, copy character by character (in chunks where possible) and append replacements as we skip what they replace. Pick-to: 6.8 Task-number: QTBUG-127549 Change-Id: I368482859ed0c4127f1eec2919183711b5488ada Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/opengl/qopengldebug.cpp')
0 files changed, 0 insertions, 0 deletions