A TRANSFORMATION METHOD FOR DYNAMIC-SIZED TABULATION

Authors
Citation
Wn. Chin et H. Hagiya, A TRANSFORMATION METHOD FOR DYNAMIC-SIZED TABULATION, Acta informatica, 32(2), 1995, pp. 93-115
Citations number
26
Categorie Soggetti
Information Science & Library Science","Computer Science Information Systems
Journal title
ISSN journal
00015903
Volume
32
Issue
2
Year of publication
1995
Pages
93 - 115
Database
ISI
SICI code
0001-5903(1995)32:2<93:ATMFDT>2.0.ZU;2-1
Abstract
Tupling is a transformation tactic to obtain new functions, without re dundant calls and/or multiple traversals of common inputs. It achieves this feat by allowing each set (tuple) of function calls to be comput ed recursively from its previous set. In previous works by Chin and Kh oo [8, 9], a safe (terminating) fold/unfold transformation algorithm w as developed for some classes of functions which are guaranteed to be successfully tupled. However, these classes of functions currently use static-sized tables for eliminating the redundant calls. As shown by Richard Bird in [3], there are also other classes of programs whose re dundant calls could only be eliminated by using dynamic-sized tabulati on. This paper proposes a new solution to dynamic-sized tabulation by an extension to the tupling tactic. Our extension uses lambda abstract ions which can be viewed as either dynamic-sized tables or application s of the higher-order generalisation technique to facilitate tupling. Significant speedups could be obtained after the transformed programs were vectorised, as confirmed by experiment.