Improve Your Code's Performance with Span in #csharp - #dotnet #programming
Span can make code run faster by not using additional heap memory to store its value. In this video, Brendan shows spans in C# in #dotnet and how they work. #programming #csharp
Sample Code Used in the Video: https://github.com/DevChatter/YouTubeSamples/tree/main/CSharp/CSharpSamples/SpanSample
Timestamps:
0:00 - Intro
1:40 - Why Span Exists
6:01 - Running and Viewing Memory
9:21 - Adding ReadonlySpan
14:48 - Explanation of C# Memory Usage
16:55 - Warnings of Usages
19:36 - Outro
Watch our live stream at https://www.twitch.tv/devchatter
Chat with us on Discord - https://discord.gg/aQry9jG
Contribute on GitHub - https://github.com/DevChatter/
Support DevChatter through Patreon - https://www.patreon.com/DevChatter
Follow Brendan on Twitter - https://twitter.com/brendoneus
Brendan's Pluralsight Courses - https://www.pluralsight.com/authors/brendan-enrick