Improved tupling for optimizing multi-paradigm declarative programs

被引:0
|
作者
González, S [1 ]
Moreno, G [1 ]
机构
[1] Univ Castilla La Mancha, Dept Comp Sci, Albacete 02071, Spain
来源
ADVANCES IN ARTIFICIAL INTELLIGENCE - IBERAMIA 2004 | 2004年 / 3315卷
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
This paper investigates the optimization by fold/unfold of declarative programs that integrate the best features from both functional and logic programming. Transformation sequences are guided by a mixed strategy which, in three low-level transformation phases. successfully combines two well-known heuristics -composition and tupling-, thus avoiding the construction of intermediate data structures and redundant. sub-computations. In particular, whereas composition is able to produce a single function definition for some nested (composed) functions. the tupling method merges non-nested functions calls into a new, function definition called eureka. We solve the non trivial problem of discovering the set of calls to be tupled in an incremental way.. i.e. chaining different eureka definitions where only non-nested calls sharing common variables are taken into account. Moreover, by appropriately combining both strategies, together with a simplification pre-process based on a kind of normalization, we automatically optimize a wide range of programs (with nested and/or non-nested function calls) at a very low cost.
引用
收藏
页码:419 / 429
页数:11
相关论文
共 50 条
  • [21] Extending Jupyter with Multi-Paradigm Editors
    Weber T.
    Ehe J.
    Mayer S.
    Proceedings of the ACM on Human-Computer Interaction, 2024, 8 (EICS)
  • [22] Multi-Paradigm Spreadsheet for End Users
    Choi, Jong-Myting
    Kim, Young-Chid
    INTERNATIONAL JOURNAL OF COMPUTER SCIENCE AND NETWORK SECURITY, 2006, 6 (04): : 30 - 35
  • [23] Special Issue on Multi-paradigm Modeling
    de Lara, Juan
    Levendovszky, Tihamer
    Mosterman, Pieter J.
    SIMULATION-TRANSACTIONS OF THE SOCIETY FOR MODELING AND SIMULATION INTERNATIONAL, 2009, 85 (11-12): : 685 - 687
  • [24] A tool suite for multi-paradigm specification
    Blair, L
    Jones, T
    Blair, G
    FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING, 1999, 1577 : 234 - 238
  • [25] Exploring Multi-Paradigm Modeling Techniques
    Hardebolle, Cecile
    Boulanger, Frederic
    SIMULATION-TRANSACTIONS OF THE SOCIETY FOR MODELING AND SIMULATION INTERNATIONAL, 2009, 85 (11-12): : 688 - 708
  • [26] Parallel programming in multi-paradigm clusters
    Leichtl, J
    Crandall, PE
    Clement, MJ
    SIXTH IEEE INTERNATIONAL SYMPOSIUM ON HIGH PERFORMANCE DISTRIBUTED COMPUTING, PROCEEDINGS, 1997, : 326 - 335
  • [27] A Multi-Paradigm Programming Language for Education
    Duemmel, Nikita
    Westfechtel, Bernhard
    Ehmann, Matthias
    PROCEEDINGS OF THE 5TH EUROPEAN CONFERENCE ON SOFTWARE ENGINEERING EDUCATION, ECSEE 2023, 2023, : 236 - 245
  • [28] Towards Sketching Interfaces for Multi-Paradigm Modeling
    Van Mierlo, Simon
    Deantoni, Julien
    Burgueno, Loli
    Verbrugge, Clark
    Vangheluwe, Hans
    2019 ACM/IEEE 22ND INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS COMPANION (MODELS-C 2019), 2019, : 437 - 442
  • [29] THE MODELVERSE: A TOOL FOR MULTI-PARADIGM MODELLING AND SIMULATION
    Van Tendeloo, Yentl
    Vangheluwe, Hans
    2017 WINTER SIMULATION CONFERENCE (WSC), 2017, : 944 - 955
  • [30] A Multi-Paradigm Modelling approach to live modelling
    Yentl Van Tendeloo
    Simon Van Mierlo
    Hans Vangheluwe
    Software & Systems Modeling, 2019, 18 : 2821 - 2842