diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2013-10-11 00:12:27 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-12-23 19:37:41 +0100 |
commit | e14503d353de7246a1d6e36894dd77bb32c4af3b (patch) | |
tree | 6cfe22641462ad190598e878bbf8988a7d463575 /src/corelib/tools | |
parent | 883444f16b22a020821e9e699da6277b946fa501 (diff) |
QTextDocument: avoid relocations
Hand-roll a string table here, since there's opportunity for
sharing string data between string entries.
Effects on Linux AMD64 GCC 4.9-trunk release stripped:
text: -88B
data: -64B
relocs: -5
Maintainability is hurt somewhat, but it is expected that the
contents of this string table do not change much, so the
overall effect is still very low.
Change-Id: I2a22da4c8548c53ef31c33319b4652f3cb6f62f5
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/corelib/tools')
0 files changed, 0 insertions, 0 deletions