Developing a tool for memoizing functions in C++
Developing a tool for memoizing functions in C++
复制标题
开发一个用于记忆 C 函数的工具
DOI:
10.1145/286385.286386
复制
发表时间:
1998
影响因子:
--
通讯作者:
Marty Hall
中科院分区:
文献类型:
--
作者:
Paul McNamee;Marty Hall
Fundamental to the study of algorithms is the ability to exchange one computer resource for another: time for memory, memory for time, time for accuracy, and so on. In this memory-cheap era, trading memory for improved run-time performance is an increasingly attractive option. One such space-for-time technique, memoiza t ion , originated from the work of Donald Michie describing the ability of functions to learn from previous calculations [11]. This caching of previously calculated information can transform some exponential time algorithms to run in linear time.