diff options
| author | Michael Goddard <michael.goddard@nokia.com> | 2010-03-31 14:18:15 +1000 |
|---|---|---|
| committer | Michael Goddard <michael.goddard@nokia.com> | 2010-04-06 16:01:07 +1000 |
| commit | 8a4a452343eb96fdbd809af87e03e891c34ff273 (patch) | |
| tree | 1c11d859c018221d405b0836230ae24827178974 /doc/src/snippets/sysinfo-snippets/main.cpp | |
| parent | 38f030fc24ff5867680634d0099e4061bde51c31 (diff) | |
Store the detail definition names and field names internally as latin 1.
This allows direct pointer comparisons in the common "string constant"
case, and also avoids a conversion to unicode, and allocation of
QStringData - a saving of over 60% usually.
Downsides are a number of trampoline template functions, since
QLatin1Constant is not a single class.
Task-number: QTMOBILITY-143
Diffstat (limited to 'doc/src/snippets/sysinfo-snippets/main.cpp')
0 files changed, 0 insertions, 0 deletions
