发明名称 Optimization of Meta-Template Instantiations
摘要 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.
申请公布号 US2015186122(A1) 申请公布日期 2015.07.02
申请号 US201414556271 申请日期 2014.12.01
申请人 International Business Machines Corporation 发明人 Perry Sean Douglas
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项 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.
地址 Armonk NY US