ACM Home Page
Please provide us with feedback. Feedback
An analysis of inline substitution for a structured programming language
Full text PdfPdf (865 KB)
Source
Communications of the ACM archive
Volume 20 ,  Issue 9  (September 1977) table of contents
Pages: 647 - 654  
Year of Publication: 1977
ISSN:0001-0782
Author
Robert W. Scheifler  Massachusetts Institute of Technology, Cambridge
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 3,   Downloads (12 Months): 23,   Citation Count: 46
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/359810.359830
What is a DOI?

ABSTRACT

An optimization technique known as inline substitution is analyzed. The optimization consists of replacing a procedure invocation by a modified copy of the procedure body. The general problem of using inline substitution to minimize execution time subject to size constraints is formulated, and an approximate algorithmic solution is proposed. The algorithm depends on run-time statistics about the program to be optimized. Preliminary results for the CLU structured programming language indicate that, in programs with a low degree of recursion, over 90 percent of all procedure calls can be eliminated, with little increase in the size of compiled code and a small savings in execution time. Other conclusions based on these results are also presented.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
 
2
Atkinson, R.R. Optimization techniques for a structured programming language. S .M. Th., M.I .T., Cambridge, Mass., 1976.
 
3
 
4
Hoare, C.A.R., Quicksort. Comput. J. 5, 1 (April 1962), 10- 15.
 
5
Galley, S.W., and Pfister, G. The MDL Primer and Manual. SYS.11.01, Lab. Comptr. Sci. M.I.T., Cambridge, Mass., 1975.
 
6
Knuth, D.E. An empirical study of FORTRAN programs. Software - Practice and Experience 1,2 (April-June 1971), 105-133.
 
7
Liskov, B.H., et al. Abstraction mechanisms in CLU. Computation Structures Group Memo 144-1. Lab. Comptr. Sci., M.I.T., Cambridge, Mass., Jan. 1977.
8
9
 
10
Palm, R.C. A portable optimizer for the language C. S.M. Th., M.I.T., Cambridge, Mass., 1975.
 
11
 
12
Rivest, R.L. Private communication.
13
 
14
 
15
Schneck, P.B., and Angel, E. A FORTRAN to FORTRAN optimizing compiler. Comput. J. 16, 4 (Nov. 1973), 322-330.
 
16
Zelkowitz, M.V., and Bail, W.G. Optimization of structured programs. Software- Practice and Experience 4, 1 (Jan.-March 1974), 51-57.

CITED BY  46

Collaborative Colleagues:
Robert W. Scheifler: colleagues