diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-10-15 03:36:22 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-10-23 05:51:00 +0000 |
commit | 8515aa18716779985a5955292524fd683528c576 (patch) | |
tree | 35a1312c967a5ffcdc4e8f02c1f3afee5bb637a9 /examples/webkit | |
parent | be926e412c9c4ec9ee77b49dbe370fbb5451f0e1 (diff) |
QTextStream: optimize streaming of QLatin1String and const char*
Instead of converting the QLatin1String to a QString at the first
opportunity, keep it around until it is appended to one of the
internal QStrings in write().
Avoids a memory allocation per QLatin1String / const char* streamed.
Change-Id: Id973a9b743e5a6696defbc4ef4ed2db1ef54e9cc
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'examples/webkit')
0 files changed, 0 insertions, 0 deletions