[prev in list] [next in list] [prev in thread] [next in thread]
List: lua-l
Subject: Re: memoize?
From: marbux <marbux () gmail ! com>
Date: 2013-06-13 1:40:22
Message-ID: CAJ1g4g8Gk88GAqQYc5g3m-U1xjYO-pVFjat23eqtp0ikjFXoPA () mail ! gmail ! com
[Download RAW message or body]
On Tue, Jun 11, 2013 at 4:30 PM, Philipp Janda <siffiejoe@gmx.net> wrote:
> Am 11.06.2013 21:23 schr=C3=B6bte Petite Abeille:
>>
>> I'm looking for a little memoize function [1] that supports multiple
>> arguments and multiple return values, including nils.
>>
>> The wiki [2] sports a couple of examples and pointers to various
>> implementations (e.g. penlight's pl.utils.memoize [3], kikito's memoize.=
lua
>> [4], etc), but at first glance they don't seem to support various
>> combinations of arguments and return values...
>>
>> Any suggestions?
>>
>
> I have written something like this before[1]. If you want, I can official=
ly
> put it on Github ...
>
> [1]: http://lua.siffiejoe.dtdns.net/multikey/
Please consider adding that pointer to the wiki at
<http://lua-users.org/wiki/FuncTables>.
Best regards,
Paul
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic