.NET | .NET 10 | Performance
.NET 10: Array ennumeration performance improvements (JIT array de-abstraction)
In .NET 10 Preview 1, the JIT compiler got better at optimizing how arrays are used with interfaces, especially when looping through them using foreach. This was the first step toward reducing the extra cost that comes with using enumerators to go through arrays. Preview 2 builds on this work with even more improvements. Take…