[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: 'oldindex' metamethod?
- From: Coda Highland <chighland@...>
- Date: Thu, 18 Sep 2014 05:22:31 -0700
On Thu, Sep 18, 2014 at 3:42 AM, Udo Schroeter <udo.schroeter@gmail.com> wrote:
> Option a) Keep the distinction between the hash part and the array part,
You can't exactly keep a distinction that doesn't exist in the first
place. Keep in mind that the concepts of "hash part" and "array part"
are implementation details -- the "array part" is a behind-the-scenes
optimization to make a very common use case faster.
As such, I fail to see how either option actually differs from how Lua
behaves right now.
/s/ Adam