Achieving compile-time performance with Reflection in C#



Achieving compile-time performance with Reflection in C#

Achieving compile-time performance  with Reflection in C#

Become a Patreon and get source code access: https://www.patreon.com/nickchapsas
Check out my courses: https://dometrain.com

Hello everybody I’m Nick and in this video I am going to show you how you can optimize reflection in C# and .NET and try to achieve compile-time performance with it. This might not be applicable to every single reflection usecase but it will definatley be applicable to a lot of them and I think there are several gotchas in this video that you can use in a variery of cases.

Timestamps
Intro – 0:00
Traditional Reflection – 1:58
Optimizing Traditional Reflection – 5:05
Super fast but less flexible Reflection – 6:39
The problem with this approach – 11:00
Super fast and flexible Reflection – 13:07

Don’t forget to comment, like and subscribe 🙂

Social Media:
Follow me on GitHub: http://bit.ly/ChapsasGitHub
Follow me on Twitter: http://bit.ly/ChapsasTwitter
Connect on LinkedIn: http://bit.ly/ChapsasLinkedIn

Keep coding merch: https://keepcoding.shop

#reflection #csharp #dotnet

Comments are closed.