Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Jagged Arrays and Inverse
Message
 
To
03/01/2005 05:09:11
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
00973641
Message ID:
00973937
Views:
17
>Hello Cetin,
>>>Probably you want a multidimensional array and not a jagged array (according to benchmarks from MS jagged arrays are much slower).
Cetin
I found an article on the Net about Arrays : http://www.codeproject.com/dotnet/arrays.asp?
629632&df=100&forumid=14002&exp=0

I read in that Article that Jagged Array are faster than multidimensional Arrays, quote :
SZARRAYS, perform so much faster than MDARRAYS, that jagged arrays,
which are SZARRAYS containing other SZARRAYS are highly preferred
over regular multidimensional arrays for performance. Keep in mind, that
jagged arrays are not CLS-compliant and may not be worked cross-language.
I'm now somewhat confused, do you have any reference to the benchmarks of Microsoft?

Thank you.

Zakaria al Azhar
Zakaria al Azhar
My blog on Actuaris.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform