[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Bloat or no bloat? (Was: [Feature request])
- From: Roberto Ierusalimschy <roberto@...>
- Date: Sun, 21 Sep 2014 11:49:34 -0300
> For example, it's quite easy for a table to know exactly how many keys
> it contains. One extra integer in the struct plus a test whether 'nil' is being
> assigned when it's not a new index or non-nil when it is. That feature has
> been requested on this list. It has not been implemented in core Lua.
> There's a tradeoff on how useful it is versus what it costs, and the
> decision went against it. Fair enough.
I hope you are not spreading the myth that this feature would solve the
conundrum of table length.
-- Roberto