Native vs managed arrays revisited PDF Print E-mail
Written by Daniel P   
Tuesday, 27 February 2007

In my entry of January 10th, I showed how I rewrote managed 2D arrays in order to speed things up. While browsing "Improving .Net application performance and scalability" by MS Press, I remembered the advice to use jagged arrays instead of managed 2D arrays. So I ran some tests, in order to compare my native version and a jagged arrays version.

The performance of jagged arrays is much better but it's still 5% to 15% slower than the native version I wrote. So I'll stick to it.




Bookmark it...
Digg!Reddit!Del.icio.us!Google!Facebook!Slashdot!Technorati!StumbleUpon!Newsvine!Furl!Yahoo!Ma.gnolia!
 
< Prev   Next >
Joomla Template by Joomlashack
Joomla Templates by JoomlaShack Joomla Templates by Compass Design