Static Caching for Incremental Computation (1998)
Cached
Download Links
- [ftp.cs.indiana.edu]
- [www.cs.sunysb.edu]
- [www.cs.stonybrook.edu]
- [ftp.cs.indiana.edu]
- [www.grammatech.com]
- DBLP
Other Repositories/Bibliography
| Venue: | ACM Trans. Program. Lang. Syst |
| Citations: | 42 - 19 self |
BibTeX
@ARTICLE{Liu98staticcaching,
author = {Yanhong A. Liu and Scott D. Stoller and Tim Teitelbaum},
title = {Static Caching for Incremental Computation},
journal = {ACM Trans. Program. Lang. Syst},
year = {1998},
volume = {20},
pages = {20--3}
}
Years of Citing Articles
OpenURL
Abstract
A systematic approach is given for deriving incremental programs that exploit caching. The cache-and-prune method presented in the article consists of three stages: (I) the original program is extended to cache the results of all its intermediate subcomputations as well as the final result, (II) the extended program is incrementalized so that computation on a new input can use all intermediate results on an old input, %using existing techniques, and (III) unused results cached by the extended program and maintained by the incremental program are pruned away, leaving a pruned extended program that caches only useful intermediate results and a pruned incremental program that uses and maintains only the useful results. All three stages utilize static analyses and semantics-preserving transformations. Stages I and III are simple, clean, and fully automatable. The overall method has a kind of optimality with respect to the techniques used in Stage II. The method can be applied straightforwardly to provide a systematic approach to program improvement via caching.







