ACM Home Page
Please provide us with feedback. Feedback
An empirical study of list structure in Lisp
Full text PdfPdf (500 KB)
Source
Communications of the ACM archive
Volume 20 ,  Issue 2  (February 1977) table of contents
Pages: 78 - 87  
Year of Publication: 1977
ISSN:0001-0782
Authors
Douglas W. Clark  Carnegie-Mellon Univ., Pittsburgh, PA, and Xerox Palo Alto Research Center, Palo Alto, CA
C. Cordell Green  Stanford Univ., Stanford, CA
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 7,   Downloads (12 Months): 37,   Citation Count: 45
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/359423.359427
What is a DOI?

ABSTRACT

Static measurements of the list structure of five large Lisp programs are reported and analyzed in this paper. These measurements reveal substantial regularity, or predictability, among pointers to atoms and especially among pointers to lists. Pointers to atoms are found to obey, roughly, Zipf's law, which governs word frequencies in natural languages; pointers to lists usually point to a location physically nearby in memory. The use of such regularities in the space-efficient representation of list structure is discussed. Linearization of lists, whereby successive cdrs (or cars) are placed in consecutive memory locations whenever possible, greatly strengthens the observed regularity of list structure. It is shown that under some reasonable assumptions, the entropy or information content of a car-cdr pair in the programs measured is about 10 to 15 bits before linearization, and about 7 to 12 bits after.


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
Barnett, J.A., and Long, R.E. The SDC LISP 1.5 system for IBM 360 computers. System Development Corp., Santa Monica, Calif., Jan. 1968.
 
2
Bates, M. The use of syntax in a speech understanding system. IEEE Trans. Acoustics, Speech, and Signal Processing 23, 1 (Feb. 1975), 112-117.
3
4
5
6
 
7
Deutsch, L.P. An interactive program verifier. Ph.D. Th., Comptr. Sci. Dep., U. of California, Berkeley, Calif., May 1973.
 
8
Deutsch, L.P. A LISP machine with very compact programs. Third Int. Joint Conf. on Artificial Intelligence, Stanford, Calif., 1973, pp. 697-703.
9
10
 
11
 
12
 
13
 
14
Quam, L.H. Stanford LISP 1.6 manual. Artificial Intelligence Proj., Stanford University, Stanford, Calif., Sept. 1969.
 
15
Reboh, R., and Sacerdoti, E. A preliminary QLISP manual. Tech. Note 81, Stanford Res. Inst. AI Center, Menlo Park, Calif., Aug. 1973.
 
16
Sacerdoti, E. The nonlinear nature of plans. Fourth Int. Joint Conf. on Artificial Intelligence, Tbilisi, Georgia, U.S.S.R., 1975, pp. 206-214.
 
17
Shannon, C.E. A mathematic theory of communication. Bell System Tech. J. 27 (July 1948), 379-423.
 
18
Smith, D.H., Masinter, L.M., and Sridharan, N.S. Heuristic DENDRAL: Analysis of molecular structure. In Computer Representation and Manipulation of Chemical Information, W.T. Wipke, S. Heller, R. Feldman, and E. Hyde, Eds., Wiley, New York, 1974.
 
19
Teitelman, W. INTERLISP Reference manual. Xerox Palo Alto Res. Center, Palo Alto, Calif., 1974.
 
20
Van der Poel, W.L. A Manual of HISP for the PDP-9. Technical U., Delft, Netherlands.
 
21
Weissman, C. LISP 1.5 Primer. Dickenson Pub. Co., Belmont, Calif., 1967.
 
22
Wilner, W.T. Design of the BI700. Proc. AFIPS 1972 FJCC, Vol. 41, AFIPS Press, Montvale, N.J., pp. 579-586.
 
23
Zipf, G.K. Human Behavior and the Prhwiple of Least Effort. Addison-Wesley, Reading, Mass., 1949.

CITED BY  45

Collaborative Colleagues:
Douglas W. Clark: colleagues
C. Cordell Green: colleagues