Method, system, and program for optimizing processing of nested functions
First Claim
Patent Images
1. A method for processing a function, comprising:
- receiving a set of nested functions;
at bind time,generating a composite function for a highest level in the set of nested functions, wherein the composite function receives arguments of the set of nested functions as input; and
generating a tagging template for the set of nested functions that corresponds to the composite function; and
at execution time,generating an intermediate result structure that includes a reference to the tagging template and one or more argument input values; and
producing a result by evaluating the composite function using the tagging template, wherein the intermediate result structure is used to produce the result, wherein the results are produced by performing serialization by traversing the tagging template and the intermediate result structure, and wherein the result is stored in storage.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed is a method, system, and program for processing a function. A set of nested functions are received. A composite function is generated for the set of nested functions. A tagging template is generated for the set of nested functions that corresponds to the composite function. A result is produced by evaluating the composite function using the tagging template.
-
Citations
21 Claims
-
1. A method for processing a function, comprising:
-
receiving a set of nested functions; at bind time, generating a composite function for a highest level in the set of nested functions, wherein the composite function receives arguments of the set of nested functions as input; and generating a tagging template for the set of nested functions that corresponds to the composite function; and at execution time, generating an intermediate result structure that includes a reference to the tagging template and one or more argument input values; and producing a result by evaluating the composite function using the tagging template, wherein the intermediate result structure is used to produce the result, wherein the results are produced by performing serialization by traversing the tagging template and the intermediate result structure, and wherein the result is stored in storage. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system for processing a function, comprising:
-
a processor; a memory coupled to the processor; at least one program executed by the processor in the memory to cause the processor to perform; (i) receiving a set of nested functions; at bind time, (ii) generating a composite function for a highest level in the set of nested functions, wherein the composite function receives arguments of the set of nested functions as input; and (iii) generating a tagging template for the set of nested functions that corresponds to the composite function; and at execution time, (iv) generating an intermediate result structure that includes a reference to the tagging template and one or more argument input values; and (v) producing a result by evaluating the composite function using the tagging template, wherein the intermediate result structure is used to produce the result, wherein the results are produced by performing serialization by traversing the tagging template and the intermediate result structure, and wherein the result is stored in storage. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. An article of manufacture embodied as a computer readable medium comprising one of volatile and non-volatile storage and including a program for processing a function, wherein the program causes operations to be performed, the operations comprising:
-
receiving a set of nested functions; at bind time, generating a composite function for a highest level in the set of nested functions; and generating a tagging template for the set of nested functions that corresponds to the composite function, wherein the composite function receives arguments of the set of nested functions as input; and at execution time, generating an intermediate result structure that includes a reference to the tagging template and one or more argument input values; and producing a result by evaluating the composite function using the tagging template, wherein the intermediate result structure is used to produce the result, wherein the results are produced by performing serialization by traversing the tagging template and the intermediate result structure, and wherein the result is stored in storage. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification