Welcome!
To use the personalized features of this site, please log in or register.
If you have forgotten your username or password, we can help.
My Menu
Saved Items

7. Measuring the Effectiveness of Partial Evaluation in Functional Logic Languages

Elvira AlbertContact Information, Germán VidalContact Information and Sergio AntoyContact Information

(5)  DSIC, Technical University of Valencia, Spain
(6)  Department of Computer Science, Portland State University, USA
Abstract
We introduce a framework for assessing the effectiveness of partial evaluators in functional logic languages. Our framework is based on properties of the rewrite system that models a functional logic program. Consequently, our assessment is independent of any specific language implementation or computing environment. We define several criteria for measuring the cost of a computation: number of steps, number of function applications, and pattern matching effort. Most importantly, we express the cost of each criterion by means of recurrence equations over algebraic data types, which can be automatically inferred from the partial evaluation process itself. In some cases, the equations can be solved by transforming their arguments from arbitrary data types to natural numbers. In other cases, it is possible to estimate the improvement of a partial evaluation by analyzing the associated cost recurrence equations.

Contact Information Elvira Albert
Email: ealbert@dsic.upv.es

Contact Information Germán Vidal
Email: gvidal@dsic.upv.es

Contact Information Sergio Antoy
Email: antoy@cs.pdx.edu
Fulltext Preview (Small, Large)
Image of the first page of the fulltext

References secured to subscribers.



Export this chapter
Export this chapter as RIS | Text
 
Remote Address: 38.107.191.105 • Server: mpweb16
HTTP User Agent: CCBot/1.0 (+http://www.commoncrawl.org/bot.html)