1. A method of managing data structures associated with code executable on a packet processor, comprising the steps of: identifying data structures in the code as being one of static data structures and non-static data structures, wherein a static data structure comprises a data structure that is not changed during execution of the packet processor code and a non-static data structure comprises a data structure that is changed during execution of the packet processor code; and managing one or more data structures associated with the packet processor code in a manner specific to the identification of the one or more data structures as static data structures or non-static data structures.