summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbusservicewatcher.cpp
diff options
context:
space:
mode:
authorThiago Macieira <[email protected]>2025-08-15 10:49:56 -0700
committerThiago Macieira <[email protected]>2025-08-19 18:04:55 -0700
commit038d127fe573128b987c700d6173990839ee33ad (patch)
tree6ec986024956581a44db872365cf1183bea2c5f8 /src/dbus/qdbusservicewatcher.cpp
parent5b1e49a7e20cdecff5e1a07278ec0dd719337eca (diff)
QChar::isSpace: optimize by lowering the upper limit checkHEADdev
Of all the Category categories, separators are the only to currently have assigned codepoints exclusively in the BMP. This allows us to lower the maximum check from the LastValidCodepoint to category-specific one. This will also cause the compiler to dead-code eliminate the check inside of qGetProperty and emit only the BMP check of the property tables: if (ucs4 < 0x11000) return uc_properties + uc_property_trie[uc_property_trie[ucs4 >> 5] + (ucs4 & 0x1f)]; Pick-to: 6.10 Change-Id: I31eda5d79cc2c3560d90fffd74a546d1e7cda7bb Reviewed-by: Edward Welbourne <[email protected]>
Diffstat (limited to 'src/dbus/qdbusservicewatcher.cpp')
0 files changed, 0 insertions, 0 deletions