Jump to content
UBot Underground

Memory usage of tables and Variables


Recommended Posts

Hi Fellas,

 

If I use a table with say 10 columns to store my data vs a table with 5 columns and 5 variables - is the memory usage more or less the same in both cases?

I would think a table with 10 columns might take up  less Ram than using another 5  variables.

What would you advise?

 

Thanks.

Link to post
Share on other sites

table is a multidimensional array
list a normal array
so it is absolut doesnt matter if u store your content in a var  or in a array.

makes no difference but like i know from many other c,c++,php etc...

 array is mosttime faster then normal var

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...