dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
14.82k stars 4.62k forks source link

Investigate folding identical methods with genericness by default #103951

Open MichalStrehovsky opened 2 months ago

MichalStrehovsky commented 2 months ago

We should be able to unconditionally fold identical generic methods/methods on generic types since the instantiation details are not visible in stack traces. It's an open question whether the savings from it would be worth the effort.

https://github.com/dotnet/runtime/pull/101969#issuecomment-2188067640

dotnet-policy-service[bot] commented 2 months ago

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas See info in area-owners.md if you want to be subscribed.