lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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.

—Tim