[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: One more item to the collection of Lua hate-speech
- From: HyperHacker <hyperhacker@...>
- Date: Mon, 5 Jul 2010 07:51:14 -0600
On Mon, Jul 5, 2010 at 06:41, Brian Weed <brianw@imaginengine.com> wrote:
>>> Lua is probably quite fast already even if you only use global
> variables, ie, don't bother with locals.
>
> That's been our experience.
>
> We use Lua to script almost all of our games, and we've never once
> localized a global (for performance, or any other reason), because it's
> not a bottleneck, and we don't waste time "optimizing" stuff that's not
> a bottleneck.
>
> Brian
>
Premature optimization is the root of all evil, after all.
--
Sent from my toaster.