diff options
author | Alexander Golubev <fatzer2@gmail.com> | 2024-03-11 13:47:16 +0300 |
---|---|---|
committer | Alexander Golubev <fatzer2@gmail.com> | 2024-03-16 02:45:44 +0300 |
commit | 3eb9061b6344a1de8973fc14085618b0c46909ae (patch) | |
tree | 1ffd17fa89c50dd1fc338bd1f8af0d2f4dac6294 /doc/html/qasciidictiterator.html | |
parent | b930cec6013b9609c4345268171763c2c5936ae4 (diff) | |
download | tqt3-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/qasciidictiterator.html')
0 files changed, 0 insertions, 0 deletions