RicoSuter / Namotion.Reflection

.NET library with advanced reflection APIs.
MIT License
212 stars 44 forks source link

Compute cache key once. #116

Closed SebastianStehle closed 2 years ago

SebastianStehle commented 2 years ago

I am not sure if the compiler can optimize it by itself, but it does not make sense to calculate the cache key multiple times.