High-Performance Code: Best Practices
Unfortunately, many people assume that their code is working as fast as it can because it runs fine in the environment in which it is being tested. This leads to an attitude that ignores coding with performance in mind because the application runs fast, with no noticeable drop in performance, regardless of how it is coded.
The next section will show you some ways to write code that preempts a large number of the performance problems that you might experience, but without having to run a lot of complex performance analysis tests.
If you've been programming with .NET for a while, you're familiar with the sound of your hard drive grinding and screeching when an unhandled exception is thrown. ...