[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Re: Lua 5.1 (work2) now available
- From: "Steve Donovan" <sjdonova@...>
- Date: Thu, 04 Nov 2004 14:08:24 +0200
>>> firstname.lastname@example.org 11/04/04 01:56PM >>>
> I may be a bit thick, but what's wrong with table.insert()?
It's the best solution, IMHO.
I tend to declare an alias like:
local append = table.insert
Looking at the implementation of table.insert, this may not be
optimal, but I don't think tbl[kk] = val; kk = kk + 1 is
going to be much faster
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.