Local optimization is the simplest form of program optimization because it focuses on optimizing just a single basic block, so just one basic block and, in particular, there is no need worry about complicated control flow, we are not going to be looking at the entire method or procedure body. 