lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


hi

On Tue, Apr 06, 2010 at 02:24:53PM +0100, Peter Cawley wrote:
...
> It has been previously noted that luaL_addlstring is fairly
> inefficient, as it adds a single character at a time to the buffer,
> rather than adding the whole string. As table.concat limits itself to
> only working with strings, and hence sidesteps __concat, the method
> used does indeed seem a little odd.
according to folklore and the manual, numbers in the table are ok.
This adds a dash of complexity, yet still not too bad.

cheers