|
Post by Thijs on Dec 14, 2015 12:31:36 GMT
Hmm I'm really curious, could you give me reproduction steps for the table overflow? Sure, I'll reproduce it (not with the source code, but with something simular). tbl={} for x=1,1e6 do for y=1,1e6 do tbl['x'..x..'y'..y]={['r']=0,['g']=0,['b']=0} end end This has nothing to with ZQL, but it has with table overflows. I'm not sure what the maximum table-data is at TouchLua.
|
|
|
Post by warspyking on Dec 14, 2015 12:39:55 GMT
Hmm I'm really curious, could you give me reproduction steps for the table overflow? Sure, I'll reproduce it (not with the source code, but with something simular). tbl={} for x=1,1e6 do for y=1,1e6 do tbl['x'..x..'y'..y]={['r']=0,['g']=0,['b']=0} end end This has nothing to with ZQL, but it has with table overflows. I'm not sure what the maximum table-data is at TouchLua. dang that crashed me. I did a little research though, I might be able to solve your problem if I run this later and don't crash.
|
|
|
Post by Thijs on Dec 14, 2015 12:44:05 GMT
Sure, I'll reproduce it (not with the source code, but with something simular). tbl={} for x=1,1e6 do for y=1,1e6 do tbl['x'..x..'y'..y]={['r']=0,['g']=0,['b']=0} end end This has nothing to with ZQL, but it has with table overflows. I'm not sure what the maximum table-data is at TouchLua. dang that crashed me. I did a little research though, I might be able to solve your problem if I run this later and don't crash. I could convert a table into a string, but the string would be SUPER big and there will be a lot of delay. On pc the size of the string shouldn't be a problem, but delay will be. And also, it will be more difficult to access image data.. I got to go now.
|
|
|
Post by warspyking on Dec 14, 2015 16:33:30 GMT
Do you have any code that doesn't crash/take forever?
|
|
|
Post by Thijs on Dec 14, 2015 17:13:24 GMT
Do you have any code that doesn't crash/take forever? What do you mean?
|
|
|
Post by warspyking on Dec 14, 2015 17:26:55 GMT
Do you have any code that doesn't crash/take forever? What do you mean? Your table overflow script, it crashes Touch Lua, and if I add sleeps it takes forever.
|
|
|
Post by Thijs on Dec 14, 2015 17:29:39 GMT
Your table overflow script, it crashes Touch Lua, and if I add sleeps it takes forever. Hey, this isn't about how much Lua has to do for the loops, it's for the things it stores, it actually stores 1e12 rgb value-s when 1e6*1e6. On pc Lua said CONSTANT TABLE OVERFLOW after already 600*600 pixel's rgb-value's... It's not about stacking or runtime, about storage.
|
|
|
Post by warspyking on Dec 14, 2015 17:39:00 GMT
Your table overflow script, it crashes Touch Lua, and if I add sleeps it takes forever. Hey, this isn't about how much Lua has to do for the loops, it's for the things it stores, it actually stores 1e12 rgb value-s when 1e6*1e6. On pc Lua said CONSTANT TABLE OVERFLOW after already 600*600 pixel's rgb-value's... It's not about stacking or runtime, about storage. And I believe I know a fix but I can't test it when the reproduction script crashes me lol
|
|
|
Post by Thijs on Dec 14, 2015 17:42:16 GMT
Hey, this isn't about how much Lua has to do for the loops, it's for the things it stores, it actually stores 1e12 rgb value-s when 1e6*1e6. On pc Lua said CONSTANT TABLE OVERFLOW after already 600*600 pixel's rgb-value's... It's not about stacking or runtime, about storage. And I believe I know a fix but I can't test it when the reproduction script crashes me lol Lua has a limit of storing tables I guess, I'm not sure wether we can change that limit.. But we'll see.
|
|
|
Post by warspyking on Dec 14, 2015 17:46:13 GMT
And I believe I know a fix but I can't test it when the reproduction script crashes me lol Lua has a limit of storing tables I guess, I'm not sure wether we can change that limit.. But we'll see. Send me a PM over roblox later (and send me an fr I think I accidentally defriended), I have high hopes we can circumvent this limit.
|
|
|
Post by Thijs on Dec 14, 2015 17:47:56 GMT
Lua has a limit of storing tables I guess, I'm not sure wether we can change that limit.. But we'll see. Send me a PM over roblox later (and send me an fr I think I accidentally defriended), I have high hopes we can circumvent this limit.
|
|
|
Post by warspyking on Dec 14, 2015 23:58:17 GMT
Send me a PM over roblox later (and send me an fr I think I accidentally defriended), I have high hopes we can circumvent this limit. You have 200 friends (limit) and something messed up, delete someone and accept mine.
|
|
|
Post by warspyking on Dec 15, 2015 3:02:05 GMT
By any chance do you have reproduction steps that would be effective in roblox studio?
|
|
|
Post by Thijs on Dec 15, 2015 6:22:19 GMT
By any chance do you have reproduction steps that would be effective in roblox studio? The constant table overflow you mean?
|
|
|
Post by warspyking on Dec 15, 2015 10:36:27 GMT
By any chance do you have reproduction steps that would be effective in roblox studio? The constant table overflow you mean? Yes
|
|