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

#csharp #programming #developer

Achieving Compile-time Performance with Reflection in C#
2.65 GEEK