Memoization

This was a triumph.