Tables VS Indipendent variables - Memory question

I guess that tables take less memory, if so, how much of a difference does it make and why is it working this way ?

are you asking this:  local a,b,c = 1,2,3

versus this:  local t = { a=1,b=2,c=3 }

?

the table version will consume a tiny bit more memory (just to set up the table itself)

the difference probably isn’t enough to matter unless you’ve got a REALLY extreme use case

Thanks, not what I was hopeing to hear but helpful

The difference is pretty trivial to a point that it really shouldn’t matter.   One background image for your app is a magnitude larger than all the Lua memory your app is likely to use.   

Rob

are you asking this:  local a,b,c = 1,2,3

versus this:  local t = { a=1,b=2,c=3 }

?

the table version will consume a tiny bit more memory (just to set up the table itself)

the difference probably isn’t enough to matter unless you’ve got a REALLY extreme use case

Thanks, not what I was hopeing to hear but helpful

The difference is pretty trivial to a point that it really shouldn’t matter.   One background image for your app is a magnitude larger than all the Lua memory your app is likely to use.   

Rob