Communications of the ACM · 1977 · 110 citations · 11 references
ComputingComputer ScienceComputational LinguisticsData StructuresProgramming LanguagesAbstract Syntax TreesMemory HierarchyMemory Access LocalityMemory Access Pattern AnalysisMemory Access PatternsPointer-based RepresentationRegularity TheorySpace Complexity AnalysisSpatial Locality
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.
11
A Mathematical Theory of Communication
Claude E. Shannon · Bell System Technical Journal · 1948 · 80.7K citations
Earl D. Sacerdoti · Defense Technical Information Center (DTIC) · 1975 · 482 citations
A nonrecursive list compacting algorithm
C. J. Cheney · Communications of the ACM · 1970 · 392 citations · Full text
TENEX, a paged time sharing system for the PDP - 10
Daniel G. Bobrow, Jerry D. Burchfiel, Daniel L. Murphy et al. · Communications of the ACM · 1972 · 162 citations · Full text