lua-users home
lua-l archive

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


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