A processing device includes an optimizer to migrate objects from an
external memory of a network processing to local memory device to
registers connected to a processor. The optimizer further aligns and
eliminates redundant unitialization code of the objects.