Patent ID: 6912542
Filing Date: 2005-06-28
Classification: G06F,Y10S

Abstract:
1. A computer-implemented method comprising: caching a plurality of successive type hierarchy references corresponding to a data object within the data structure of the data object; and accessing the cached type hierarchy references at run time to perform type checking of the data object by determining, for a query type, that is within the portion of the plurality of successive type hierarchy references, if a data object type corresponding to the data object, is the query type, and if not comparing a first number corresponding to a number of supertypes of the data object type within the plurality of successive type hierarchy references to a second number corresponding to a number of supertypes of the query type within the plurality of successive type hierarchy references; determining that the data object type is not the query type if the first number is not greater than the second number; and comparing the query type to a corresponding type hierarchy reference and determining that the data object type is the query type if the query type and the corresponding type hierarchy are equal.