Click here to Skip to main content
15,890,438 members
Articles / General Programming / Optimization

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

Rate me:
Please Sign up or sign in to vote.
4.90/5 (60 votes)
20 Nov 2014CPOL12 min read 57.9K   54  
Get into the details of .NET array access optimization and how you can pattern your code for efficiency.

Views

Daily Counts

License

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


Written By
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