Summary
After reading this chapter, you should have a better idea of some of the fundamental things you can do in your day-to-day coding—whether it be for a web application or a Windows application—to increase your application's speed and efficiency. This chapter discussed various aspects of the Garbage Collector and how you can structure your code to reduce the effect that the GC has on your application's performance. Also discussed were dealing with things such as boxing and unboxing, value types and reference types, string building and collections, and much more. The point of this chapter is to encourage you to build good habits that will reduce the amount of performance tuning you have to do after your application has been built.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access