[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Multiple Questions
- From: Jamie Webb <j@...>
- Date: Fri, 11 Jun 2004 19:38:18 +0100
On Friday 11 June 2004 18:21, Dan Laufer wrote:
> luaL_getn(), is what you're looking for to determine the number of elements
> in a table from the C side of things.
Only if the table has consecutive numerical indexes starting from 1. And if it
doesn't have the size cached, that function will still just resort to
iterating.
-- Jamie Webb