Automating Program Speedup by Deciding What to Cache
Automating Program Speedup by Deciding What to Cache
复制标题
通过决定缓存内容来自动加速程序
DOI:
--
复制
发表时间:
1985
期刊:
影响因子:
--
通讯作者:
D. Cohen
中科院分区:
文献类型:
--
作者:
Jack Mostow;D. Cohen
A common program optimization strategy is to eliminate recomputation by caching and reusing results. We analyze the problems involved in automating this strategy: deciding which computations are safe to cache, transforming the rest of the program to make them safe, choosing the most cost-effective ones to cache, and maintaining the optimized code. The analysis extends previous work on caching by considering side effects, shared data structures, program edits, and the acceptability of behavior changes caused by caching. The paper explores various techniques for solving these problems and attempts to make explicit the assumptions on which they depend. An experimental prototype incorporates many of these techniques.