A framework for automatic and parameterizable memoization - Archive ouverte HAL Access content directly
Journal Articles SoftwareX Year : 2019

A framework for automatic and parameterizable memoization

(1) , (2, 3) , (4) , (2, 3) , (4) , (2, 3)


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.
Fichier principal
Vignette du fichier
memoization_softwarex.pdf (356.94 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-02305415 , version 1 (04-10-2019)



Loïc Besnard, Pedro Pinto, Imane Lasri, João Bispo, Erven Rohou, et al.. A framework for automatic and parameterizable memoization. SoftwareX, 2019, 10, pp.100322. ⟨10.1016/j.softx.2019.100322⟩. ⟨hal-02305415⟩
50 View
211 Download



Gmail Facebook Twitter LinkedIn More