29:52Understanding how to use Task and ValueTask
From the creator
Understanding the Whys, what’s, and when’s of ValueTask https://devblogs.microsoft.com/dotnet/understanding-the-whys-whats-and-whens-of-valuetask?WT.mc_id=ondotnet-c9-cxa ValueTask reference docs https://docs.microsoft.com/en-us/dotnet/api/system.threading.tasks.valuetask-1?WT.mc_id=ondotnet-c9-cxa NuGet package for ValueTask https://www.nuget.org/packages/System.Threading.Tasks.Extensions?WT.mc_id=ondotnet-c9-cxa In this episode, Stephen Toub chats with Rich about ValueTask and how it might help reduce allocations and memory usage for your asynchronous .NET code. [00:34] - What is ValueTask and why do we need it? [05:22] - What is a good scenario for ValueTask? [10:00] - What is IValueTask? [12:14] - Why was the non-generic ValueTask introduced? [13:54] - Does ValueTask offer cancellation? [14:42] - What can you do with Task vs ValueTask? [16:28] - What’s the uptake with ValueTask usage? [18:28] - How does IAsyncEnumerable task advantage of ValueTask? [21:11] - What other performance work is happening around allocations?
Published 2019-07-02 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.
Keep exploring Learn to Code
29:52
04:07
11:04"Anti-Slop" Designs with Impeccable (a Crash Course) #5 - Enable Image Generation
Net Ninja
2:25:40
42:55Java Graphics Programming Tutorial - How To Draw Shapes, Paths, Curves, and Apply Transformations
choobtorials
08:10
18:31