If the implemented algorithm is already optimal enough and there is still a need to optimize the code in terms of minimizing code size, increasing execution speed, or minimizing memory footprint, an optimization technique could be used. The following chapters describe a few of them. Some techniques are general and some of them are very specific for the CC5X compiler, IQRF ecosystem, or the MICROCHIP PIC MCU. Some techniques are straightforward, some more complex. It is advisable to consult the generated code at the output .lst file in any case.