Tupling

A program transformation where several results are returned from a single traversal of a data structure. In procedural languages this technique is known as horizontal loop combination because it uses one loop to calculate several results. Another form of tupling transformation is used to avoid repeated evaluation where a function generates several identical calls to itself. By analysing the pattern of recursion (see descent function) it is possible to arrange for these identical calls to share results.

Онлайн словарь компьютерных терминов