Affiliation:
1. Xerox Palo Alto Research Center, 3333 Coyote Hill Rd., Palo Alto, CA
Abstract
List structures provide a general mechanism for representing easily changed structured data, but can introduce inefficiencies in the use of space when fields of uniform size are used to contain pointers to data and to link the structure. Empirically determined regularity can be exploited to provide more space-efficient encodings without losing the flexibility inherent in list structures. The basic scheme is to provide compact pointer fields big enough to accommodate most values that occur in them and to provide “escape” mechanisms for exceptional cases. Several examples of encoding designs are presented and evaluated, including two designs currently used in Lisp machines. Alternative escape mechanisms are described, and various questions of cost and implementation are discussed. In order to extrapolate our results to larger systems than those measured, we propose a model for the generation of list pointers and we test the model against data from two programs. We show that according to our model, list structures with compact
cdr
fields will, as address space grows, continue to be compacted well with a fixed-width small field. Our conclusion is that with a microcodable processor, about a factor of two gain in space efficiency for list structure can be had for little or no cost in processing time.
Publisher
Association for Computing Machinery (ACM)
Cited by
20 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Fast Functional Lists;Implementation of Functional Languages;2003
2. Memory forwarding;ACM SIGARCH Computer Architecture News;1999-05
3. Dynamic storage allocation: A survey and critical review;Memory Management;1995
4. Unrolling lists;ACM SIGPLAN Lisp Pointers;1994-07
5. Compiling lisp programs for parallel execution;Lisp and Symbolic Computation;1991-01