Chapter 9. Parallel LINQ to Objects
Goals of this chapter:
• Discuss the drivers for parallel programming, and how Parallel LINQ fits that story.
• Demonstrate how to turn sequential queries into parallel queries using Parallel LINQ.
• Demonstrate how to create a custom parallel operator.
This chapter introduces Parallel LINQ to Objects. PLINQ introduces data parallelism into LINQ queries, giving a performance boost on multi-core and multiprocessor machines while making the results predictable and correct. This chapter also demonstrates how to build your own parallel operator.
Parallel Programming Drivers
Microsoft has invested heavily in .NET Framework 4 and Visual Studio 2010 to allow all developers to safely and easily embrace parallel ...
Get LINQ to Objects Using C# 4.0 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.