Space- and time-efficient enumerations
AssigneeOracle International Corporation
InventorMario Wolczko
Life of this patent
Estimating the term…
Loading patent…
AssigneeOracle International Corporation
InventorMario Wolczko
Estimating the term…
Systems, computer instructions and computer-implemented methods are disclosed for implementing space- and time-efficient enumerations. An instance of an enumeration class may be created with a constant, plurality of enumerations. A plurality of objects corresponding to the respective enumerations may be stored in memory along with a lookup table indexed by respective ordinal values of the plurality of enumerations, the lookup table including respective references to the stored objects of the instantiated enumeration class. A reference to an enumeration may be stored in a memory location by storing an ordinal value of the enumeration. A determination may then be made to convert a stored ordinal value to a reference to an object, and responsive to the determination, the ordinal value may be loaded and used as an index into the lookup table to obtain the reference to the object corresponding to the enumeration.
A computer-implemented method of accessing an object by reference, comprising:
One or more non-transitory computer-accessible storage media storing program instructions that when executed on or across one or more processors cause the one or more processors to perform:
A system, comprising:
Dependencies are inferred from the claim text.