Тёмный

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

Amichai Mantinband
Подписаться 51 тыс.
Просмотров 21 тыс.
50% 1

Опубликовано:

 

26 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 28   
@Silky987
@Silky987 7 месяцев назад
Great content, I've learned a little more today. Thank you!
@jerrydsta1056
@jerrydsta1056 6 месяцев назад
what is the .Dump() method references from? thanks!
@juniorcode41
@juniorcode41 Месяц назад
Thank you. It is great video.
@vitaliiodiichuk5317
@vitaliiodiichuk5317 6 месяцев назад
Really great description for plinq, thanks
@Pezsmapatkany
@Pezsmapatkany 7 месяцев назад
Highly informative! Excellent job!
@TCFIFA
@TCFIFA 6 месяцев назад
עבודה מעולה!
@ЯнеКателиев
@ЯнеКателиев 7 месяцев назад
Very good video. Thank you.
@kesavanarayanaanaparthi6428
@kesavanarayanaanaparthi6428 6 месяцев назад
Nice tutorial😀 great effort keep up good work, could you please share the how to do the environment set up like you did for visual studio code
@Dustyy01
@Dustyy01 7 месяцев назад
Most of the time my "heavy computation" is async. Or I have many small operations which I need to use on the collection. How would I do that with PLINQ?
@amantinband
@amantinband 7 месяцев назад
PLINQ is best suited for long-running CPU-bound operations. If you’re dealing with many small operations or asynchronous computations (sending HTTP requests for example) then async await with Task.WhenAll is a better choice over PLINQ
@alfonsdeda8912
@alfonsdeda8912 7 месяцев назад
Great content, the difference between this and await Task.When all is that as Parallel is better to use with heavy and few computation, and task.whenall is better for "parallel" i/o operations?
@andreysemykin5879
@andreysemykin5879 7 месяцев назад
Async await is for IO. Parrallel, Task.Run is for cpu bound.
@Linkario86
@Linkario86 7 месяцев назад
This is great. I'm love using LINQ and this will certainly help make more performant LINQ queries. I assume Parallel foreach loops are still faster? Though the difference is probably smaller compared to sequential LINQ and foreach. What is the performance impact for ordering? Since .AsParallel() doesn't necessarily use Parallelism, do you recommend to add it to any LINQ-Query by default? Though if that were the case, Microsoft probably would've implemented it that way anyways.
@omidkianifar5144
@omidkianifar5144 6 месяцев назад
Nice. It's time to create video for Task, await, cancellation token, asyn void, confiureawait false 😅😊🙏
@cccyberfamilydk
@cccyberfamilydk 7 месяцев назад
Nice. What if the HeavyComputation is Task based or ValueTask based? Is PLinq still the right way to go?
@mdnoverflow
@mdnoverflow 5 месяцев назад
how to scaffold test project to test all this ?
@Buutyful
@Buutyful 7 месяцев назад
thx :)
@minionmasterSXS
@minionmasterSXS 6 месяцев назад
this is probably a dumb question but... can you use P LINQ AND SIMD LINQ together?
@MrAymenmatador
@MrAymenmatador 6 месяцев назад
can we alternate between threads with PLINQ, like one method print "ping" the other print "pong" and get an output : "ping pong ping pong ping pong ..." ? thanks for the video :D
@amantinband
@amantinband 6 месяцев назад
If you need to maintain a specific order then you can use AsOrdered
@alexmel8448
@alexmel8448 7 месяцев назад
What do you mean by the sentence do you a favor and don't use pink in your applications because you need to be familiar with how things work under the hod ?
@amantinband
@amantinband 7 месяцев назад
Adding "AsParallel" without knowing how PLINQ works will likely introduce bugs or make your code even slower. It's important to understand how PLINQ actually works to know how to use it correctly.
@null-undefined
@null-undefined 7 месяцев назад
What is this dump() extension method?
@amantinband
@amantinband 7 месяцев назад
It’s a convenient way to print objects to the console. Check out the package Dumpify
@TasnimBENNACER
@TasnimBENNACER 7 месяцев назад
Thanks for this video Amichai, btw what's your tool to print on your screen boxes with arrows in colors with your mouse and keyboard ?
@amantinband
@amantinband 7 месяцев назад
Presentify
@timur2887
@timur2887 7 месяцев назад
Great, thanks!
Далее
Dependency Injection Deep Dive | .NET & C# Essentials
38:01
+1000 Aura For This Save! 🥵
00:19
Просмотров 2,9 млн
Exceptions are evil. This is what I do instead.
24:41
Controllers From Scratch Using .NET 8
14:23
Просмотров 14 тыс.
Await Async Tasks Are Getting Awesome in .NET 9!
9:24
Parallelization and PLINQ
20:43
Просмотров 7 тыс.
Stop Calling Your API a "REST API"
17:42
Просмотров 17 тыс.
The Only .NET Scheduler You Should Be Using!
16:38
Просмотров 51 тыс.