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

Is using many spawn functions bad on performance?

Asked by
trecept 367 Moderation Voter
5 years ago

I often use spawn(function() for many things because I need them to run side by side with other code, but will running something like 100 to 1000 or even more spawn functions at once be bad on performance since it's all being run at the same time?

0
Try to connect as many loops as you can into unified loop(s) Vulkarin 581 — 5y

1 answer

Log in to vote
1
Answered by 5 years ago

Yes, obviously it affects performance. Just try to break every loop you use in a spawn, and limit the times you use spawn() as much as you can.

Ad

Answer this question