WEKO3
-
RootNode
アイテム
手続き型言語での再帰の除去について
https://ipsj.ixsq.nii.ac.jp/records/30272
https://ipsj.ixsq.nii.ac.jp/records/302720d8d20ab-83bd-4aee-8173-402b18736e12
名前 / ファイル | ライセンス | アクション |
---|---|---|
![]() |
Copyright (c) 1997 by the Information Processing Society of Japan
|
|
オープンアクセス |
Item type | SIG Technical Reports(1) | |||||||
---|---|---|---|---|---|---|---|---|
公開日 | 1997-01-23 | |||||||
タイトル | ||||||||
タイトル | 手続き型言語での再帰の除去について | |||||||
タイトル | ||||||||
言語 | en | |||||||
タイトル | Removal of recursive call in procedural language | |||||||
言語 | ||||||||
言語 | jpn | |||||||
資源タイプ | ||||||||
資源タイプ識別子 | http://purl.org/coar/resource_type/c_18gh | |||||||
資源タイプ | technical report | |||||||
著者所属 | ||||||||
電気通信大学情報工学科 | ||||||||
著者所属 | ||||||||
電気通信大学情報工学科 | ||||||||
著者所属(英) | ||||||||
en | ||||||||
Department of Computer Science, University of Electro - Communications | ||||||||
著者所属(英) | ||||||||
en | ||||||||
Department of Computer Science, University of Electro - Communications | ||||||||
著者名 |
北川, 拓
渡辺, 坦
× 北川, 拓 渡辺, 坦
|
|||||||
著者名(英) |
Taku, Kitagawa
Tan, Watanabe
× Taku, Kitagawa Tan, Watanabe
|
|||||||
論文抄録 | ||||||||
内容記述タイプ | Other | |||||||
内容記述 | 再帰呼び出しを用いたプログラムは、同じ処理を再帰を用いずに書いた場合と比べて実行するのに時間とメモリを多く必要とする。そのため、再帰呼び出しに対する最適化が望まれるが、それの実装されているコンパイラはわずかしか無い。本稿では、線形再帰を末尾再帰に変換して最適化する方法を提案し、実装を行なった。この方式はArsacとKodratoffによって提案された方法を改良したもので、彼らの方法では末尾再帰の変換に発見的方法を用いているが、それを本稿では探索を実装に適したアルゴリズミックな手順で実現している。 | |||||||
論文抄録(英) | ||||||||
内容記述タイプ | Other | |||||||
内容記述 | Execution overhead of recursive call is high and it is desirable to improve its object code. However, only a few compilers do it. We propose a technique of object code optimization for recursive calls and implemented it in our complier. In this technique, liner recursion is transformed to tail recursion by using Arsac and Kodratoff's method and then transformed to loop. Arsac and Kodratoff use heuristic method in finding tail recursion function, but we propose an algorithmic method suitable for computer. | |||||||
書誌レコードID | ||||||||
収録物識別子タイプ | NCID | |||||||
収録物識別子 | AN10485570 | |||||||
書誌情報 |
情報処理学会研究報告プログラミング(PRO) 巻 1997, 号 9(1996-PRO-011), p. 101-107, 発行日 1997-01-23 |
|||||||
Notice | ||||||||
SIG Technical Reports are nonrefereed and hence may later appear in any journals, conferences, symposia, etc. | ||||||||
出版者 | ||||||||
言語 | ja | |||||||
出版者 | 情報処理学会 |