diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2014-08-17 20:33:46 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-06-22 10:45:11 +0000 |
commit | 3e6f36175a60bcd869debba00518d805f6dc8034 (patch) | |
tree | f4dfa5ddcdecda62433cb2a965fbe394bcf84d49 /tests/benchmarks | |
parent | 838478ccca638436b6da244c04bf3aaaf31ef05c (diff) |
QTextDocumentLayout: don't hold QPointers in QList
QPointer is larger than a void*, so holding them in a QList is needlessly
inefficient. Worse, the code could come to depend on the fragile property
of (inefficient) QLists that references to elements therein never are
invalidated.
Change-Id: I104d11cc530c9c1579e82bf4e28e3353c00b34b4
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'tests/benchmarks')
0 files changed, 0 insertions, 0 deletions