memoizing collections and decorators
