[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: table.maxn...
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 1 Jun 2015 19:07:35 -0300
> This was meant to be a question about tracking the physical number of
> non-nil entries in the internal table data structure. [...]
>
> This being the case, most of the gotchas mentioned above seem to evaporate,
> and the only reason not to do that that I can see is that it makes *ALL*
> table writes a tiny bit more expensive. [...]
Another reason not to do so is that it makes '#' mostly useless for
sequences (which are the only reason for its existence).
-- Roberto