I have a table with a TON of strings, almost 100 and im adding more. im curious of there is a limit to the amount of data that can be in a table?
Uh, no. You’re definitely not going to reach a “limit” with 100 strings. You have PLENTY of room.
The limit is mostly likely how much memory was allocated to the program, and that’s probably A LOT of memory. You’re definitely good.
yippeeeeeeee
i wanna add you to the table now hold on
done
lol im making a table with messages for the loading screen
its a table of messages that will be able to appear during the loading screen. i wanna add a lot so its REALLY random
and so they dont get repetitive
You need help with that lol???
how would you really help? its just random stuff i come up with… like heres an eample:
Thanks, you’re probably never going to be able to fill up that table and run out of memory, but the script may get laggy.
No lag so far! although im really running outta ideas to add…
WHY DO YOU HAVE SO MANY STRINGS
Mark this post as a solution already, it’s getting off topic
Since Roblox runs 64 bit, you could store 4.2 gbs on info on a table, for reference you could put a text inside a notepad file and see how large that would be (wouldn’t know why you need that much…)
This isn’t true @Vortexuel560, run this code and see. It can go WAYYY further. And as I said previously, all the way up to the memory limit, most likely.
local b = {} for i = 1, 100_000_000 do if i % 50000 == 0 then task.wait(); print(i) end table.insert(b, 1) end
This line proves it, it gets all the way up to 67.1k, on my end. I wish people would stop posting false information :(.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.