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

Reply via email to