开发者

How does C# 3.0 jagged array performance optimization vs. rectangular arrays work?

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 perf开发者_Go百科ormance optimizations are implemented?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜