Install elpa-memoize by entering the following commands in the terminal:
sudo apt update sudo apt install elpa-memoize
Description:
memoization functions
This package provides memoization functions. `memoize' accepts a symbol or a function. When given a symbol, the symbol's function definition is memoized and installed overtop of the original function definition. When given a function, it returns a memoized version of that function. . Memoization takes up memory, which should be freed at some point. Because of this, all memoization has a timeout from when the last access was.
Homepage: https://github.com/skeeto/emacs-memoize
Version: 1.1-1
Section: universe/lisp