Forum Discussion
EnTerr
11 years agoRoku Guru
"TheEndless" wrote:"EnTerr" wrote:
There is no way for such references to be resolved in advance in dynamic languages like Lua or BrightScript, where X.Y isjust a shortcut for X["Y"] andnot a numeric offset inside a record. You don't know what's in `m` till you get to `m`.
According to my experimentation and the explanation from RokuMarkn here, you are incorrect... viewtopic.php?f=34&t=83110&p=476841#p476844
Thanks for the reference - seems now X.Y and X["Y"] may differ in B/S. I will back-pedal 1/4 of a revolution (see strike-through above). One can go half-way with dotting by pre-computing hashes, which is neat if you can afford the labor.
Local variable still would be faster. Per quote above, last year my test showed 10x difference.
What do you experiments show now?