lua-users home
lua-l archive

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


> On Sep 29, 2015, at 5:57 PM, Soni L. <fakedme@gmail.com> wrote:
> 
> 
> 
> On 29/09/15 09:48 PM, Luiz Henrique de Figueiredo wrote:
>>> The registry, a table, is SLOW. Can we use upvalues instead?
>> Define SLOW.
>> 
>> What problem are you trying to solve?
>> 
> It also has name conflicts.
> 
> -- 
> Disclaimer: these emails may be made public at any given time, with or without reason. If you don't agree with this, DO NOT REPLY.
> 
> 

It’s the same performance as any other table, what were you expecting? And if your solution can fit into 250 upvalues, then how hard can it be to devise a key identity scheme that won’t conflict? And what do you expect it to conflict WITH?

—Tim