Ignoring output arguments of functions in programming environments
First Claim
1. A non-transitory computer-readable storage medium storing computer-executable instructions, the medium storing one or more instructions for:
- providing first code that includes a function defined to perform a plurality of operations for generating a plurality of output arguments;
providing second code that includes a caller calling the function, the caller designating, with a predefined designator, at least one of the plurality of output arguments to be ignored; and
processing the first and second code such that one or more of the operations for generating the at least one of the plurality of output arguments to be ignored are avoided.
0 Assignments
0 Petitions
Accused Products
Abstract
Methods, systems and computer program products are provided for ignoring one or more output arguments of a function in a programming environment. Users or programmers may designate one or more output arguments that are not desired by the users. The called function determines which output arguments are designated by the users. The one or more output arguments designated by the users are ignored by the function. The called function may reclaim memory space for the output arguments designated by the users. The called function may also avoid operations for generating values for the output arguments designated by the users. The called function does not need to return values for the output arguments designated by the users.
14 Citations
28 Claims
-
1. A non-transitory computer-readable storage medium storing computer-executable instructions, the medium storing one or more instructions for:
-
providing first code that includes a function defined to perform a plurality of operations for generating a plurality of output arguments; providing second code that includes a caller calling the function, the caller designating, with a predefined designator, at least one of the plurality of output arguments to be ignored; and processing the first and second code such that one or more of the operations for generating the at least one of the plurality of output arguments to be ignored are avoided. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computational device comprising:
-
a memory that stores a function that is defined to perform a plurality of operations for generating a plurality of output arguments when the function is executed; and a processing element coupled to the memory, the processing element configured to; receive a call to the function, the call designating, with a predefined designator, at least one of the plurality of output arguments to be ignored; execute the call to the function; and execute the function such that one or more of the operations for generating the at least one of the plurality of output arguments to be ignored is avoided. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A method comprising:
-
storing, in a memory, first code that includes a function defined to perform a plurality of operations for generating a plurality of output arguments; providing second code that includes a caller calling the function, the caller designating, with a predefined designator, at least one of the plurality of output arguments to be ignored; and executing, by a processor coupled to the memory, the first and second code such that one or more of the operations for generating the at least one of the plurality of output arguments to be ignored are avoided. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27)
-
-
28. An apparatus comprising:
-
means for providing first code that includes a function defined to perform a plurality of operations for generating a plurality of output arguments; means for providing second code that includes a caller calling the function, the caller designating, with a predefined designator, at least one of the plurality of output arguments to be ignored; and a processor configured to execute the first and second code such that one or more of the operations for generating the at least one of the plurality of output arguments to be ignored are avoided.
-
Specification