summaryrefslogtreecommitdiffstats
path: root/src/gui/rhi
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2019-07-02 10:16:43 +0200
committerMarc Mutz <marc.mutz@kdab.com>2019-07-03 14:48:24 +0200
commite1c9276c778b66d5f7fd71f01c26338f3d6f2c5e (patch)
tree67edb6e45b05e5c8b7fe61e4682f5d2581aba276 /src/gui/rhi
parente40a139abf6bc191ad10c22734848a5d1176cc76 (diff)
Optimize QSet set operations
Replace the identity check with a check for the underlying QHash objects being shared and replace backwards iteration, which is really forwards iteration with wrapping at bucket boundaries, with forward iteration. QSet cannot contain duplicates, so the order in which the RHS elements are presented to the algorithms does not matter. Change-Id: Iad8528e3a9501b14cb85601b221a848aad91480c Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/gui/rhi')
0 files changed, 0 insertions, 0 deletions