How intensive is it an operation to save a UserVar? I was planning on saving a player's X and Y coordinate to a UserVar every time it is sent from the player, which is about every 300ms per user. Is this unreasonable / costly of an operation to do, or is there simply a better/faster way to save this info?
I'm more than happy to repeatedly update from the last value, but I'm worried that it might be "expensive" to save that frequently.
UserVar intensive?
Re: UserVar intensive?
Hi,
it's difficult to say "how intensive" because there isn't an scale of "intensiveness" with which we can express that
In any case setting variables is an ultra light operation, so there should be no problem with a server having to set tens of thousands of vars per second.
Updating variables every 300ms is perfectly fine. No worries
cheers
it's difficult to say "how intensive" because there isn't an scale of "intensiveness" with which we can express that
In any case setting variables is an ultra light operation, so there should be no problem with a server having to set tens of thousands of vars per second.
Updating variables every 300ms is perfectly fine. No worries
cheers
Re: UserVar intensive?
Lapo wrote:Hi,
it's difficult to say "how intensive" because there isn't an scale of "intensiveness" with which we can express that
In any case setting variables is an ultra light operation, so there should be no problem with a server having to set tens of thousands of vars per second.
Updating variables every 300ms is perfectly fine. No worries
cheers
Ultra light, you say? That's all I needed to hear. Thank you again for your expertise.
Who is online
Users browsing this forum: heroumi and 46 guests