[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Performance vs flexibility
- From: "Soni L." <fakedme@...>
- Date: Thu, 08 Jan 2015 10:17:32 -0200
On 08/01/15 10:11 AM, Marco Bambini wrote:
How would you index it? _ENV("this would print") _ENV("this would
return a string") etc?
one of the criticisms about Lua is the way it uses globals (using an hash table instead of a regular array and so performance suffers when globals are accessed).
I just wondering what's behind that design decision, I mean what's the pro and cons of having an hash table for globals instead of a simpler array?
Thanks a lot.
Disclaimer: these emails are public and can be accessed from <TODO: get a non-DHCP IP and put it here>. If you do not agree with this, DO NOT REPLY.