1976 · 19 citations · 0 references
ComputingComputer ScienceComputer SystemsAlgorithmsComputer ArchitectureData StructuresData Structure AlgorithmsData Structure DesignData TypesData-flow AnalysisMemory HierarchyStructural ComplexityCompressed Data StructuresList HierarchiesTrie Data Structures
This thesis is about list structures: how they are used tn practice, how they can be moved.and copied efficiently, and howthey can.be represented by spacesaving encodings. The approach taken to these subjects is mainly empirical. Measurement results are based on five large pl_ograms written in Interlisp, a sophisticated Lisp system that runs on the PDP-l O. Static data were collected at the end of typical runs of the programs, and all list structure used as data by them was measured (about 50,000 cells each). Strong regularities were discovered. In each program, about one-third of all cars pointed to lists, the rest mainly to literal atoms and small integers; roughly three-fourths of cdrs pointed to lists, the rest mainly to the atom NIL. List pointers generally pointed to a location physically nearby.in memory, a condition that appears to depend only on the sequential allocation of new list cells. Atom pointers were distributed approximately according to Zipf's law, which models word occurrence tn natural]anguage text. Less agreement was found among the programs when dynamic references to