Jump to content

Script Performance Question


Recommended Posts

Posted
4 hours ago, R3G3N said:

Is it better CPU performance-wise to write one big script in the onLoop, using a task based system, or using states?

depends really, if done well i dont see a massive issue. 

What tends to happen with task based scripts is there is alot of repeated code in each of the task 'validation' methods that could be avoided if it wasn't and this can cause usage to go up. 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...