April 16, 20187 yr Is it better CPU performance-wise to write one big script in the onLoop, using a task based system, or using states?
April 16, 20187 yr no real difference, it's just a framework for the code that you're already going to write.
April 16, 20187 yr Every less if statement you use you shave off nanoseconds of CPU usage needed to evaluate the expression
April 16, 20187 yr 1 hour ago, IDontEB said: Every less if statement you use you shave off nanoseconds of CPU usage needed to evaluate the expression And countless more errors you introduce
April 16, 20187 yr 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