Skip to main content
This is lesson 4 of 6 in this module Course 29% complete

JIT Optimizations

Premium Content

Sign in with your account or sign up to access this lesson.

The lesson explains how the JIT compiler can eliminate redundant STLOC/LDLOC pairs by keeping values in CPU registers, and argues that C# developers should focus on optimizing IL output rather than assembly. We establish that reducing the number and cost of IL instructions is where the most accessible performance gains lie.