Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Does it take longer for data to be transferred if there's more data?

Asked by 5 years ago
Edited 5 years ago

There's many ways of getting table data, but would it take longer if the data being transferred via module scripts or remote events/functions is bigger? This is because I need data to be transferred as quickly as possible and I don't know if I should create specific events to retrieve specific data thus creating more lines of script. Should I even be worrying about this if the different is very small? Thanks

1 answer

Log in to vote
0
Answered by 5 years ago

I do not believe so, as table data is infinite to indexes, some of my datastores for example, I index to the player's UserId, Table data simply has as many indexes from 0 to infinite and to infinite to 0, all the table is doing when you are getting the data is getting where the index is, and getting the value set it in, and all you are doing when setting the data, is setting the index that is already there(Potentially just nil) to a new value/variable.

So long as you aren't doing anything wrong when getting and setting table data, there will be no difference, and ALL data on ROBLOX servers lead back to a table one way or another if need be.

0
Lovely, thank u Marmalados 193 — 5y
0
"I do not believe so, as table data is infinite to indexes, some of my datastores for example, I index to the player’s UserId, Table data simply has as many indexes from 0 to infinite and to infinite to 0, all the table is doing when you are getting the data is getting where the index is, and getting the value set it in, and all you are doing when setting the data, is setting the index that is al User#24403 69 — 5y
0
ready there(Potentially just nil) to a new value/variable." is wrong. Unaccepting. User#24403 69 — 5y
0
You don't deserve that upvote either. DeceptiveCaster 3761 — 5y
Ad

Answer this question