Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
Eliminating Redundant Recursive Calls.
Cohen N. ACM Transactions on Programming Languages and Systems5 (3):265-299,1983.Type:Article
Date Reviewed: Feb 1 1985

The methods of tabulating results of recursive calls to avoid their recomputations are surveyed in [1]. The reviewed paper considers a rather special, theoretically simple, yet practically significant (as demonstrated by numerous examples) class of programs represented by the schema: f(x) :9I= if p(x) then a(a) else b (x),f)(c(x)).f(d(x))).

Under some constraints (like commutativity of c and d), small tables, which save exactly the results to be used later, can be designed systematically with no heuristic involved. The method thus permits the user to automatically transform considered programs to their (partially equivalent) nonredundant counterparts. The interested reader may find it useful to also consult [2], which is not referred to in this paper.

Reviewer:  J. Horejs Review #: CR109072
1) Bird, R. S.Tabulation techniques for recursive programs, ACM Comput. Surv. 12 (Dec. 1980), 403-417. See <CR> 22, 2 (Feb. 1981), Rev. 37,514.
2) Pettorossi, a.; and burstall, r. m.:deriving very efficient algorithms for evaluating linear recurrence relations using the program transformations, Acta Inf. 18 (Nov. 1982), 181-206. See <CR>, Rev. 8403-0217.
Bookmark and Share
 
Program Transformation (I.2.2 ... )
 
 
Graph Algorithms (G.2.2 ... )
 
 
Optimization (D.3.4 ... )
 
 
Procedures, Functions, And Subroutines (D.3.3 ... )
 
 
Program And Recursion Schemes (F.3.3 ... )
 
 
Trees (G.2.2 ... )
 
  more  
Would you recommend this review?
yes
no
Other reviews under "Program Transformation": Date
On convergence toward a database of program transformations
Barstow D. ACM Transactions on Programming Languages and Systems 7(1): 1-9, 1985. Type: Article
Jul 1 1985
Automating the transformational development of software
Fickas S. IEEE Transactions on Software Engineering SE-11(11): 1268-1277, 1985. Type: Article
Feb 1 1987
A method for specializing logic programs
Bossi A., Cocco N., Dulli S. ACM Transactions on Programming Languages and Systems 12(2): 253-302, 1990. Type: Article
Jan 1 1992
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy