On 26 January 2017 at 01:33, p...@highoctane.be <p...@highoctane.be> wrote:

> self memoize: #methodThatDoesSomethingLong:.
>
> would automatically store parameters values as cache keys. No matter how
> many such parms.
>
> No need to have blocks or anything,operations are memoized.
> We use blocks for lack of a better way right now I guess.
>
> Phil
>
> well, that's something i calling 'caching'.. because if you cashing many
results, depending on input data,
then it is better to call caching..

but in original example, there's noting like this.. it is just block
without arguments.. so, what you going
to use as keys for caching evaluation of such block, how do you identify
what value(s) are inputs for such block
and what not?

-- 
Best regards,
Igor Stasenko.

Reply via email to