Would this increase server performance?

So I created a game (a month ago) and there is a lot of calculations .
The calculations are big too ! I use all 9.2+e18 digits .

Here is the question , I do all my calculations using only 1 Server script .
Would separating them into maybe 2-3 Server script increase server performance?

Here is the game by the way…

https://www.roblox.com/games/5327880096/Online-Business-Simulator-2?refPageId=250b6b80-7aac-4a07-b3aa-eed816dafac1

1 Like

Why would having all the same code into more instances “increase server performance”? You’re still running the same code.

Maybe try to optimize your calculations.

2 Likes

Performance is only affected by how well you script something. In regards to calculations, it depends, sometimes handling things with numbers instead of using CFrames/Vector3/Vector2s improves performance.

1 Like

It’s reallly simple. For example ,

function Get()
     local Plr = game.Players.danielkaya
     local Increase = 9e+5

     Plr.leaderstats.Money.Value += Increase 
end

Get()

there is no way to improve something like this , right?

1 Like

Well , I just thought it would not stress 1 script into doing all the calculations …

1 Like

If it looks like there is no other way to improve something (without having to resort to micro-optimizing), then there is no point.

2 Likes