lua-users home
lua-l archive

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


On Fri, Aug 1, 2014 at 4:12 PM, Elias Barrionovo <elias.tandel@gmail.com> wrote:
> On Fri, Aug 1, 2014 at 6:10 PM, Tim Hill <drtimhill@gmail.com> wrote:
>> However, I'm not too sure of the use cases here. Mostly, table.clear(x) can be replaced with x = {}.
>
>
> Perhaps clearing an existing table for reuse *could* be more
> performant than constructing a new one?
>
> --
> NI!
>
> () - www.asciiribbon.org
> /\ - ascii ribbon campaign against html e-mail and proprietary attachments
>

It's identity thing. Many threads are (on purpose) monitoring the same
table for work/status/fun...

There are other ways to do this and it isn't critical to me.

-Andrew