Fast and light-weight caching (memoization) of objects and