Please enable JavaScript in your browser!
首頁
探索
說明
登入
Matt
/
compilersnotes
關註
1
讚好
0
複刻
0
代碼
問題管理
0
合併請求
0
提交歷史
1
版本發佈
0
Wiki
暫無描述
分支:
master
分支列表
標籤列表
master
compilersnotes
/
funcmemo.md
funcmemo.md
785B
永久連結
文件歷史
原始文件
Summarise Contribution & Motivation
Build on existing work of function memoization
Extend the scope by doing it at compile time allowing user defined functions instead of dynamic linked
Memoization is just lookup in table of function results
Software solution and hardware for increased gains
Methodology
Identify functions which can be memoized
Functions that can be are replaced with memoization wrapper which looks up in table, or reverts to default storing value in table
Global variables are considered as extra arguments
Critical Assessment
Achieves better speedup than load-time optimisation in previous work
Causes memory overhead
Inlining can increase code size
Hardware solution is heavyweight and even with powergating has area implications