April 2017
Intermediate to advanced
628 pages
13h 46m
English
From the examples used in this recipe, it is clear that use of the parallel foreach loop should be considered carefully. If you are dealing with relatively low volumes of data or non-process intensive transactions, the parallel foreach loop will not benefit your application's performance much. In some instances, the standard foreach loop could be much faster than the parallel foreach loop. If, however, you find your application running into performance issues when processing large amounts of data or running processor-intensive tasks, give the parallel foreach loop a try. It just might surprise you.
Read now
Unlock full access