1. A machine-readable non-transitory storage medium having instructions therein, which when executed by a machine, cause the machine to perform a method, the method comprising: registering a trap handler with a slow path code to access a property of a structured data for an executable code, the slow path code including lookup operations to determine a type of the structured data, wherein the type of the structured data is dynamically created during runtime of the executable code; optimizing the executable code, during the runtime of the executable code, with an expected type of the structured data to access the property of the structured data without performing compare and branch operations. providing a pointer embedded with the type of the structured data, the pointer to represent the structured data addressable in a memory via an address, the pointer specifying both the address and the type of the structured data; updating the pointer with an identifier identifying the expected type without performing operations to determine the type of the structured data; loading data addressed by the updated pointer, wherein the property of the structured data is loaded as the data if the type matches the expected type; and diverting execution of the optimized executable code to the slow path code to access the property via the trap handler activated by a hardware trap issued if the type does not match the expected type.