summaryrefslogtreecommitdiffstats
path: root/doc/html/concrete-connections.png
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2024-03-11 13:47:16 +0300
committerAlexander Golubev <fatzer2@gmail.com>2024-03-16 02:45:44 +0300
commit3eb9061b6344a1de8973fc14085618b0c46909ae (patch)
tree1ffd17fa89c50dd1fc338bd1f8af0d2f4dac6294 /doc/html/concrete-connections.png
parentb930cec6013b9609c4345268171763c2c5936ae4 (diff)
downloadtqt3-3eb9061b6344a1de8973fc14085618b0c46909ae.tar.gz
tqt3-3eb9061b6344a1de8973fc14085618b0c46909ae.zip
Deduplicate code in TQObject::activate_signal()
According to a benchmark the while() loop with direct use of iterators were ~10% slower than the current one which handled case when there is only one connection to a signal separately. But use of a range-based for loop sped up even this case for ~1.5%. Closes: https://mirror.git.trinitydesktop.org/gitea/TDE/tqt3/issues/121 Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
Diffstat (limited to 'doc/html/concrete-connections.png')
0 files changed, 0 insertions, 0 deletions