Optimization of Meta-Template Instantiations
First Claim
1. A computer program product comprising:
- a computer readable storage medium; and
computer usable code stored on the computer readable storage medium, where, when executed by a processor, the computer usable code causes a computer to;
determine whether a template in a source code is a meta-template;
create a set of entries in a first data structure of an alternate type system, wherein each entry of the set of entries is to correspond to a separate recursive instantiation;
conduct an evaluation of the set of entries to generate a single entry in a second data structure of a regular type system, wherein the single entry is to correspond to a result of the evaluation; and
process the set of entries to resolve a problem.
1 Assignment
0 Petitions
Accused Products
Abstract
An illustrative embodiment provides a computer-implemented method for an alternate type system for optimizing the evaluation and use of meta-template instantiations. The computer-implemented method obtains a source code, instantiates an element of the source code to form an instantiated element and identifies a meta-template within the instantiated element to form an identified meta-template. The computer-implemented method creates an entry for the identified meta-template in a first data structure, wherein the entry comprises a set of mapped entries, creates an associated entry in a second data structure linked to the entry comprising the set of mapped entries, wherein the associated entry represents the set of mapped entries, and uses the associated entry of the second data structure in combination with the entry of the first data structure.
1 Citation
18 Claims
-
1. A computer program product comprising:
-
a computer readable storage medium; and computer usable code stored on the computer readable storage medium, where, when executed by a processor, the computer usable code causes a computer to; determine whether a template in a source code is a meta-template; create a set of entries in a first data structure of an alternate type system, wherein each entry of the set of entries is to correspond to a separate recursive instantiation; conduct an evaluation of the set of entries to generate a single entry in a second data structure of a regular type system, wherein the single entry is to correspond to a result of the evaluation; and process the set of entries to resolve a problem. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method comprising:
-
determining whether a template in a source code is a meta-template; creating a set of entries in a first data structure of an alternate type system, wherein each entry of the set of entries corresponds to a separate recursive instantiation; conducting an evaluation of the set of entries to generate a single entry in a second data structure of a regular type system, wherein the single entry corresponds to a result of the evaluation; and processing the set of entries to resolve a problem. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. An apparatus comprising:
-
a template analyzer to determine whether a template in a source code is a meta-template; a template mapper to; create a set of entries in a first data structure of an alternate type system, wherein each entry of the set of entries is to correspond to a separate recursive instantiation; and conduct an evaluation of the set of entries to generate a single entry in a second data structure of a regular type system, wherein the single entry is to correspond to a result of the evaluation; and a processor to process the set of entries to resolve a problem. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification