diff options
author | Marc Mutz <marc.mutz@qt.io> | 2024-02-13 14:24:22 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2024-02-28 13:56:27 +0100 |
commit | 296ede3aab2c0cc1acd28a2adb3017ac74d7ed6b (patch) | |
tree | b4dc451614cdbfb7d7aab6404313e0596517565d /src/android/jar/src/org/qtproject | |
parent | afb74a86d8cd1ac6463fa804300480967101d7d7 (diff) |
QGuiApplication: replace a QSet with QMinimalVarLengthFlatSet
The number of windows in a windowing system is clearly small, even
smaller the number of windows that should be affected by a single
touch event, so QSet is overkill. Use the recently-added
QMinimalVarLengthFlatSet instead, backed by a QVLA<16>. Even though
insertion and lookup are now logarithmic instead of constant-time, the
saved memory allocations will make up for it.
Change-Id: Ie33ecf4a155e58db597c67ed9c78549255c48b99
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/android/jar/src/org/qtproject')
0 files changed, 0 insertions, 0 deletions