已收录 268921 条政策
 政策提纲
  • 暂无提纲
Cheap deforestation for non-strict functional languages
[摘要] In functional languages intermediate data structures are often used as glue toconnect separate parts of a program together. Deforestation is the processof automatically removing intermediate data structures. In this thesis wepresent and analyse a new approach to deforestation. This new approach isboth practical and general.We analyse in detail the problem of list removal rather than the more generalproblem of arbitrary data structure removal. This more limited scope allowsa complete evaluation of the pragmatic aspects of using our deforestationtechnology.We have implemented our list deforestation algorithm in the Glasgow Haskellcompiler. Our implementation has allowed practical feedback. One importantconclusion is that a new analysis is required to infer function aritiesand the linearity of lambda abstractions. This analysis renders the basicdeforestation algorithm far more effective.We give a detailed assessment of our implementation of deforestation. Wemeasure the effectiveness of our deforestation on a suite of real applicationprograms. We also observe the costs of our deforestation algorithm.
[发布日期]  [发布机构] University:University of Glasgow;Department:School of Computing Science
[效力级别]  [学科分类] 
[关键词] QA75 Electronic computers. Computer science [时效性] 
   浏览次数:5      统一登录查看全文      激活码登录查看全文