Re: Performance vs flexibility
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Performance vs flexibility
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 8 Jan 2015 10:40:33 -0200
> 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 think this is an unfair (or more likely an uninformed) criticism.
Practically any dynamic language uses something like hash (or worse) to
access global variables.
-- Roberto