Speeding up Parallel.For using the Range Partitioner

Sign in to queue

Description

Join Danny Shih as he demonstrates using the range partitioner feature.  Parallel.For is great, but being a general solution, it does not perform optimally for certain specific scenarios, such as when there are a ton of iterations and very little work per iteration.  In these cases, the range partitioner can be used to speed things up.


Learn more about the .NET Framework 4 and keep abreast of Parallel Computing tools and techniques via the Concurrency Dev Center.

See all videos in this series.

Embed

Download

Download this episode

The Discussion

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.