S
Shadowblitz16
Guest
I was wondering if at some point yoyo games would think about replacing arrays entirely with lua tables?
they would basically be the same thing but would also be able to hold key pair values.
so it would look something like this..
now I know this would only be doable if it was equal or faster then the speed of an array or if types were ever added.
but if luajit uses tables and is fast then i don't see why this couldn't be done
they would basically be the same thing but would also be able to hold key pair values.
so it would look something like this..
Code:
var table1 = { "hi", 0 } //list or array
var table2 = {} //map
table2.string = table1[0]
show_debug,message(table2.string)
but if luajit uses tables and is fast then i don't see why this couldn't be done