Making LINQ Blazing fast with PLINQ (Parallel LINQ) | .NET & C# Essentials

Making LINQ Blazing fast with PLINQ (Parallel LINQ) | .NET & C# Essentials

24.601 Lượt nghe
Making LINQ Blazing fast with PLINQ (Parallel LINQ) | .NET & C# Essentials
In today's video we're going to cover every single PLINQ (Parallel LINQ) extension method with examples. PLINQ is a powerful and can make your LINQ queries extremely fast. We're going to cover how PLINQ is implemented behind the scenes, what are all the various options, and almost everything you need to know about PLINQ before integrating it in your production applications. Connect with me on 'em socials: Twitter: https://twitter.com/amantinband LinkedIn: https://www.linkedin.com/in/amantinband/ GitHub: https://github.com/amantinband Check out all my courses on DomeTrain: https://dometrain.com/author/amichai-mantinband Support the channel and get the source code: https://www.patreon.com/amantinband Thanks for watching, don't forget to like & comment & subscribe! ❤️ 💻 00:00. Overview 00:56. AsParallel 05:38. Mapping [thread id] to [sequence elements processed by that thread] 09:30. WithDegreeOfParallelism 09:50. How PLINQ works under the hood 15:05. AsOrdered 15:18. AsUnordered 15:40. ParallelEnumerable.Range 16:16. ParallelEnumerable.Repeat 16:29. ParallelEnumerable.Empty 16:48. AsSequential 18:45. WithCancellation 19:29. WithMergeOptions 26:26. Partitioning in PLINQ 29:35. WithExecutionMode 31:04. ForAll 33:22. Solving the PLINQ Riddle