[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Memoizing Functions - yet another attempt
- From: Petite Abeille <petite.abeille@...>
- Date: Sun, 15 Dec 2013 00:19:40 +0100
On Dec 14, 2013, at 11:53 PM, Tim Hill <drtimhill@gmail.com> wrote:
>
> On Dec 14, 2013, at 2:01 PM, Petite Abeille <petite.abeille@gmail.com> wrote:
>
>>
>> On Dec 14, 2013, at 10:19 PM, Tim Hill <drtimhill@gmail.com> wrote:
>>
>>> Translation: Only pure functions should be candidates for memoization.
>>
>> Eh? Since when? I, for one, see great, concrete, tangible benefit in memoizing, say, that very expensive network call for whatever period of time I personally see fit.
>>
>>
>
> In which case you are essentially asserting to yourself that, under acceptable constraints, that expensive network call IS (in effect) a pure function.
That’s one way to spin it, yes :D