Linear argument
theory
A function argument which is used exactly once by the function.
If the argument is used at most once then it is safe to inline the function and replace the single occurrence of the formal parameter with the actual argument expression. If the argument was used more than once this transformation would duplicate the argument expression, causing it to be evaluated more than once.
If the argument is sure to be used at least once then it is safe to evaluate it in advance (see strictness analysis) whereas if the argument was not used then this would waste work and might prevent the program from terminating.
(1994-11-03)
Read Also:
- Linear assignment
assignment problem
- Linear atrophy
linear atrophy n. Stretch marks.
- Linear-b
noun 1. an ancient system of writing representing a very early form of Greek, deciphered by Michael Ventris chiefly from clay tablets found at Knossos on Crete and at Pylos. noun 1. an ancient system of writing, apparently a modified form of Linear A, found on clay tablets and jars of the second millennium bc […]
- Linear collider
noun 1. (physics) a particle accelerator in which two beams of particles are made to collide
- Linear-combination
noun, Mathematics. (of mathematical quantities) 1. a sum of products of each quantity times a constant: The expression aX + bY + cZ is a linear combination of X, Y, and Z, where a, b, and c are constants.