4.4 Optimization Techniques

There are several techniques you can be use to optimize a UEFI driver. These techniques can be broken down into the following two categories:

  • Techniques to reduce the size of UEFI drivers

  • Techniques to improve the performance of UEFI drivers

Sometimes these techniques complement each other―sometimes they are at odds with each other. For example, a UEFI driver may grow in size to meet a specific

performance goal. The driver writer is required to make the appropriate compromises in the selection of these driver optimization techniques.