跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 程序设计语言

arXiv:1102.2656 (cs)
[提交于 2011年2月14日]

标题:Repetitive Reduction Patterns in Lambda Calculus with letrec (Work in Progress)

作者:Jan Rochel, Clemens Grabmayer
查看论文《Repetitive Reduction Patterns in Lambda Calculus with letrec (Work in Progress)》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:For the lambda-calculus with letrec we develop an optimisation, which is based on the contraction of a certain class of 'future' (also: virtual) redexes. In the implementation of functional programming languages it is common practice to perform beta-reductions at compile time whenever possible in order to produce code that requires fewer reductions at run time. This is, however, in principle limited to redexes and created redexes that are 'visible' (in the sense that they can be contracted without the need for unsharing), and cannot generally be extended to redexes that are concealed by sharing constructs such as letrec. In the case of recursion, concealed redexes become visible only after unwindings during evaluation, and then have to be contracted time and again. We observe that in some cases such redexes exhibit a certain form of repetitive behaviour at run time. We describe an analysis for identifying binders that give rise to such repetitive reduction patterns, and eliminate them by a sort of predictive contraction. Thereby these binders are lifted out of recursive positions or eliminated altogether, as a result alleviating the amount of beta-reductions required for each recursive iteration. Both our analysis and simplification are suitable to be integrated into existing compilers for functional programming languages as an additional optimisation phase. With this work we hope to contribute to increasing the efficiency of executing programs written in such languages.
评论: In Proceedings TERMGRAPH 2011, arXiv:1102.2268
主题: 程序设计语言 (cs.PL)
引用方式: arXiv:1102.2656 [cs.PL]
  (或者 arXiv:1102.2656v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.1102.2656
期刊参考: EPTCS 48, 2011, pp. 85-100
相关 DOI: https://doi.org/10.4204/EPTCS.48.9

提交历史

来自:EPTCS
[v1] 2011年2月14日 星期一 01:09:58 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.PL
< 上一篇   |   下一篇 >
最新 | 近期 | 2011-02
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站