D9823: Optimize: use QMetaObject::invokeMethod with functor

Aleix Pol Gonzalez noreply at phabricator.kde.org
Thu Jan 11 16:18:39 UTC 2018


apol added a comment.


  In https://phabricator.kde.org/D9823#189491, @mwolff wrote:
  
  > cleaner, yes. but also much slower. contrary to the other code-paths, the `QTimer::singleShot` taking a functor is not optimized (yet?) for `timeout == 0`...
  
  
  Oh well... `¯\_(ツ)_/¯`

REPOSITORY
  R244 KCoreAddons

REVISION DETAIL
  https://phabricator.kde.org/D9823

To: mwolff, dfaure, apol
Cc: #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180111/2e8b30a3/attachment.html>


More information about the Kde-frameworks-devel mailing list