[PATCH] D101699: [Support/Parallel] Add a special case for 0/1 items to llvm::parallel_for_each.

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 17 12:31:45 PST 2022


MaskRay added a comment.
Herald added a subscriber: Chia-hungDuan.

How expensive is spinning up a TaskGroup? Mostly the ctor/dtor of TaskGroup?

I created D117510 <https://reviews.llvm.org/D117510> to remove one `Fn(...)` call which may make instantiated code slightly smaller.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101699/new/

https://reviews.llvm.org/D101699



More information about the llvm-commits mailing list