Memoize is the right word: http://en.wikipedia.org/wiki/Memoization