| Copying list structures using bounded workspace |
| Full text |
Pdf
(438 KB)
|
Source
|
Communications of the ACM
archive
Volume 17 , Issue 4 (April 1974)
table of contents
Pages: 198 - 202
Year of Publication: 1974
ISSN:0001-0782
|
|
Author
|
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 1, Downloads (12 Months): 11, Citation Count: 10
|
|
|
ABSTRACT
Two new algorithms are presented for list structure copying using bounded workspace. The first, of primarily theoretical interest, shows that without cell tag bits the task can be performed in time n2. The second algorithm, assuming one tag bit in each cell, delivers attractive practical speed. Any noncyclic structure is copied in linear speed, while cyclic structures are copied in average time less than n log n. No foreknowledge of cycle absence is necessary to achieve linear speed. A variation of the second algorithm solves an open problem concerning list structure marking. That result demonstrates that marking can be done in average time n log n without the aid of supplemental tag bits or stacks.
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
|
Knuth, Donald E. Fundamental ,4lgorithms, Addison-Wesley, Reading, Mass., 1968.
|
| |
3
|
Lindstrom, Gary. Scanning list structures without stacks or tag bits, hzJi Proc. Letters 2, 2 (June 1973), 47-51.
|
| |
4
|
Wegbreit, Ben. A space-efficient list structure tracing algorithm. IEEE Traits. Comp. C-21, 9 (Sept. 1972), 1009-1010.
|
 |
5
|
|
|