summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMilian Wolff <milian.wolff@kdab.com>2013-12-19 19:05:27 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-12-27 15:51:16 +0100
commita001534f832e58cc081512e12a4b7266489f2ad7 (patch)
tree6ecd99250088336a75028695957f267a512efb63 /tests
parent110890e091cd1f112b18196048f62efe7b858e19 (diff)
downloadqtwebchannel-a001534f832e58cc081512e12a4b7266489f2ad7.tar.gz
Optimize SignalHandler by obsoleting the call to senderSignalIndex.
This method is quite slow, and can be compared to two calls of sender(). We now encode the signal index in the methodId and thus do not have to call it anymore. The performance gain is about 27% (9.2 vs. 12.7ms). Change-Id: Iaa75efa27a54a21e27e62994de25cafd8136159d Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions