[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Performance vs flexibility
- From: Marco Bambini <marco@...>
- Date: Thu, 8 Jan 2015 13:11:56 +0100
Hello,
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.
--
Marco Bambini
http://www.sqlabs.com
http://twitter.com/sqlabs
http://instagram.com/sqlabs