D21703: [Transaction] Replace template for functor with std::function
Igor Poboiko
noreply at phabricator.kde.org
Mon Jun 10 10:03:45 BST 2019
poboiko added a comment.
I thought about it myself. I googled it a bit (i.e. here <https://stackoverflow.com/questions/14677997/stdfunction-vs-template>) and saw that there might be some quite unwanted runtime overhead because of using `std::function`. It might be negligible (since we're doing some costly DB operations inside anyways), but I'd prefer if we did some profiling to make sure it's OK.
REPOSITORY
R293 Baloo
REVISION DETAIL
https://phabricator.kde.org/D21703
To: bruns, #baloo, ngraham, astippich, poboiko
Cc: kde-frameworks-devel, LeGast00n, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190610/69a79510/attachment.html>
More information about the Kde-frameworks-devel
mailing list