Is it possible to use tuples in roblox when storing data?

Hello there! In python, when you want to create a consequence of elements, you can either choose tuple or list, where tuple consumes much lesser memory in the expense of elements being immutable. So, can I do the same thing in roblox studio?

Lua doesn’t have tuples, so you should just use tables.

But if you want to be memory efficient when storing data, best thing to do is buffers.
There is tutorial on youtube on that here: Link.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.