[Lldb-commits] [PATCH] D32757: Add TaskMap for iterating a function over a set of integers
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri May 5 04:29:18 PDT 2017
labath accepted this revision.
labath added a comment.
I can do the pushing. :)
Thanks for the patch.
================
Comment at: include/lldb/Utility/TaskPool.h:89
+void TaskMapOverInt(size_t begin, size_t end,
+ std::function<void(size_t)> const &func);
----------------
Making this a template would enable you to get rid of the std::function wrapper overhead. I have no idea whether it would make a difference in practice.
Repository:
rL LLVM
https://reviews.llvm.org/D32757
More information about the lldb-commits
mailing list