Click here to Skip to main content
14,634,077 members
Articles » Platforms, Frameworks & Libraries » .NET Framework » General » Revisions

Digging Into .NET Loop Performance, Bounds-checking, Iteration, and Unrolling

Rate this:
4.90 (60 votes)
Please Sign up or sign in to vote.
4.90 (60 votes)
20 Nov 2014CPOL
Get into the details of .NET array access optimization and how you can pattern your code for efficiency.



Compare Revision Minor Date Status Editor
5 - publicly available No 21-Nov-14 7:52 Available Sean Ewington
Updates in content.
4 No 21-Nov-14 6:41 Pending Ben M Watson
Added small section on using fixed keyword
3 No 21-Nov-14 6:00 Pending Ben M Watson
Updates in content.
1 No 20-Nov-14 11:52 Pending Ben M Watson
Initial creation


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Ben M Watson
Software Developer (Senior) Microsoft
United States United States
Ben Watson has been a software engineer at Microsoft since 2008. On the Bing platform team, he has built one of the world's leading .NET-based, high-performance server applications, handling high-volume, low-latency requests across thousands of machines for millions of customers. In his spare time, he enjoys geocaching, books of all kinds, classical music, and spending time with his family. He is the author of Writing High-Performance .NET Code and C# 4.0 How-To. He blogs at Philosophical Geek.

Comments and Discussions


53 bookmarked