[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How to clone a table in LJ2-friendly way?
- From: Alexander Gladysh <agladysh@...>
- Date: Fri, 26 Aug 2011 21:17:10 +0400
On Fri, Aug 26, 2011 at 21:09, Mike Pall <mikelu-1108@mike.de> wrote:
> Alexander Gladysh wrote:
>> ---- TRACE 1 abort tclone.lua:108 -- NYI: FastFunc pairs
>>
>> Mike, please, any input?
>
> pairs() will not be fast, no matter what I do.
So, any code that uses pairs() is bound to be interpreter-only, is this correct?
> Excessive cloning of tables is a sure sign of a design weakness.
> Deep cloning is even worse.
This is not relevant to the question.
Alexander.