|
|
||
|
On 10-Oct-05, at 1:31 PM, Chris Marrin wrote:
Adam D. Moss wrote:Posti Laatikko wrote:Since lua is intepreted language i was wondering does variables & funtions
names effect execution speed if names are long?Nope - they're just strings which are interned and then compared/hashed by pointer.
But technically a long string takes longer to do the initial hash, right? So I can imagine a situation where a string must be interned at runtime (constructed on-the-fly) and where you might see some runtime performance issues for long strings vs. short strings.