diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2023-07-10 17:53:28 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2023-07-12 19:05:02 +0200 |
| commit | 87e3099812b4dd8c19ed022d8983d468b330471f (patch) | |
| tree | 0f51a9d69beb004c1dbd7f7e3bc18f8c3c49c1a0 /src/quick/handlers/qquickpointerhandler.cpp | |
| parent | 63b622d5908ec2960ce5dfa301e9d3fd4d92fdb4 (diff) | |
QQmlTreeModelToTableModel: reduce unneeded relocations
The connections array was marked as static, which forces the compiler
to place it as written, as a table of structs of pointers.
Removing the static keyword allows the compiler to generate the code
anyway it wants, incl. unrolling the loop over the data structure.
Removes 22 unneeded relocations, and saves 240B in Text and Data
combined.
Pick-to: 6.6
Task-number: QTBUG-100536
Change-Id: I9bddd4ae4053760352a5fa359dc9336b6bd90892
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/quick/handlers/qquickpointerhandler.cpp')
0 files changed, 0 insertions, 0 deletions
