z-logo
open-access-imgOpen Access
A framework for automatic and parameterizable memoization
Author(s) -
Loïc Besnard,
Pedro Pintó,
Imane Lasri,
João Bispo,
Erven Rohou,
João M. P. Cardoso
Publication year - 2019
Publication title -
softwarex
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.528
H-Index - 21
ISSN - 2352-7110
DOI - 10.1016/j.softx.2019.100322
Subject(s) - memoization , computer science , compiler , just in time compilation , source code , parallel computing , programming language , energy consumption , optimizing compiler , code (set theory) , computation , embedded system , parsing , set (abstract data type) , ecology , top down parsing , biology
Improving execution time and energy efficiency is needed for many applications and usually requires sophisticated code transformations and compiler optimizations. One of the optimization techniques is memoization, which saves the results of computations so that future computations with the same inputs can be avoided. In this article we present a framework that automatically applies memoization techniques to C/C++ applications. The framework is based on automatic code transformations using a source-to-source compiler and on a memoization library. With the framework users can select functions to memoize as long as they obey to certain restrictions imposed by our current memoization library. We show the use of the framework and associated memoization technique and the impact on reducing the execution time and energy consumption of four representative benchmarks.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here
Accelerating Research

Address

John Eccles House
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom