folly: gen: pmap: parallel version of map
authorLucian Grijincu <lucian@fb.com>
Sun, 13 Apr 2014 06:10:11 +0000 (23:10 -0700)
committerSara Golemon <sgolemon@fb.com>
Fri, 18 Apr 2014 19:04:14 +0000 (12:04 -0700)
commit89c3562ec54989b0e1fbe942bf403ccbf54fbcc7
tree825f591555e628cfa44e39bc8453e4becb0c08ce
parent188e13f3c8e30d54728baab3d93a61dce9711fa9
folly: gen: pmap: parallel version of map

Summary:
same as map, but runs it's argument in parallel over a number of threads.

@override-unit-failures

Test Plan: added test

Reviewed By: tjackson@fb.com

FB internal diff: D1258364
folly/Optional.h
folly/gen/ParallelMap-inl.h [new file with mode: 0644]
folly/gen/ParallelMap.h [new file with mode: 0644]
folly/gen/test/ParallelMapBenchmark.cpp [new file with mode: 0644]
folly/gen/test/ParallelMapTest.cpp [new file with mode: 0644]