MemoizationFactory e GenericMemoization