问题
In the Apress book "Illustrated C# 2008", pg. 343 notes:
"One-dimensional arrays have specific instructions in the CIL that allow them to be optimized for performance. Rectangular arrays do not have these instructions...Because of this, it can sometimes be more efficient to use jagged arrays..."
Does anyone know how these performance optimizations are implemented?
来源:https://stackoverflow.com/questions/1986989/how-does-c-sharp-3-0-jagged-array-performance-optimization-vs-rectangular-array