Patent ID: 11966798
Assignee: ORACLE INTERNATIONAL CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. One or more non-transitory computer readable media storing instructions which, when executed by one or more hardware processors, cause:
identifying a first command to perform at least one of: (a) create a first data structure within a first context, or (b) access the first data structure within the first context;
determining that the first data structure is of a particular type;
determining that the first context is associated with a type restriction restricting the first data structure from assuming any value that does not match a predetermined singleton value;
wherein, in an absence of the type restriction, a value that does not match the predetermined singleton value is valid for the particular type;

based on the type restriction restricting the first data structure from assuming any value that does not match the predetermined singleton value, determining that no memory space of the first data structure stores a first data value for the data structure;
performing at least one of:
(a) creating the first data structure, wherein creating the first data structure comprises allocating a first memory space to the first data structure, without allocating any memory space for storing the first data value for the first data structure; or
(b) using the predetermined singleton value as the first data value for the first data structure, without accessing any memory space of the data structure that stores the first data value for the data structure.