|
Post by chimmihc on Jan 11, 2016 4:40:59 GMT
There isn't a limit to how many pairs a table can have, they resize dynamically as you add them.
This code:
tbl={} for x=1,1e6 do for y=1,1e6 do tbl['x'..x..'y'..y]={['r']=0,['g']=0,['b']=0} end end
Ran fine, but used up all my memory(spat out "not enough memory" and terminated the current running process) after running for a while.
There could of course be a limit to pre-defined pairs though.
|
|
|
Post by warspyking on Jan 21, 2016 19:14:21 GMT
I looked at the default rank names and the next rank is named "God". You were right!
|
|
|
Post by Thijs on Jan 27, 2016 13:43:16 GMT
There isn't a limit to how many pairs a table can have, they resize dynamically as you add them. This code: tbl={} for x=1,1e6 do for y=1,1e6 do tbl['x'..x..'y'..y]={['r']=0,['g']=0,['b']=0} end end Ran fine, but used up all my memory(spat out "not enough memory" and terminated the current running process) after running for a while. There could of course be a limit to pre-defined pairs though. Yes, I think there is indeed a limit for PRE-DEFINED tables; sounds logical.
|
|
|
Post by lars on Jan 28, 2016 11:55:40 GMT
I would write it into a .json and read it out from php. That should take a little while, but without error (Except your HDD/SSD is to small )
|
|