8 PERFORMANCE AND EFFICIENCY
Few programmers set out to write inefficient code, but we don’t always have time to fine-tune an algorithm to extract the maximum possible performance. Nevertheless, it’s important to understand how some coding practices can hurt performance and how we can employ alternative approaches to make our code more efficient. In this chapter, we’ll put some common techniques and practices under the microscope to examine their performance and compare their characteristics with potential alternatives.
We’ll explore the following:
- Where default code behavior may not be optimally efficient
- Why some common performance concerns ...
Get The C# Type System now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.