lua-users home
lua-l archive

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


On Mon, Jul 18, 2016 at 9:16 AM, Rain Gloom <raingloom42@gmail.com> wrote:
> If I may play devil's advocate: what about simply using a special data
> structure for such special cases? Ie.: just implement it as a feature of a
> usual table with an __index and __newindex metamethod?

Not such a devilish idea; why not indeed? That's the method which has
worked fine for us in the past