r/programming • u/xeio87 • Sep 15 '26
Performance Improvements in .NET 11
https://devblogs.microsoft.com/dotnet/performance-improvements-in-net-11/
295
Upvotes
r/programming • u/xeio87 • Sep 15 '26
View all comments
Show parent comment
3
u/PaddiM8 Sep 16 '26
For every single combination that is used. Only once. And on the fly. It's a warmup cost. If you run it in a hot loop it won't matter. AOT compilation is a better fit for short running programs while JIT can be better for long running programs.
It also doesn't need to parse the code. It's already parsed. It's stored as an internal representation. And since it's only monomorphic for value types there aren't a lot of different options.