[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Four paradigms for programming Lua apllications
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 1 Apr 2014 10:51:24 +0200
On Tue, Apr 1, 2014 at 10:46 AM, Eduardo Tongson <propolice@gmail.com> wrote:
> local concat = table.concat
> ...
> concat(t)
>
> Does it exactly have the same effect?
Completely! Functions are values, you can assign them to a variable.
It will be a little bit faster, although you'd only notice if using it
in a tight loop.