07-29-2024, 04:35 PM
@eoredson I would clarify that `$Checking:Off` makes code smaller and run faster by removing the code that runs the error handlers, runs timers, runs `On X`, etc. between each line. It's not a general purpose "make the code faster" command, it's for the specific use-cases where the event checking is negatively impacting the performance of a piece of code and you know that the event checking is unnecessary for that part (Because it runs fast enough to not impact timers, won't produce errors, etc.)
I would additionally note that most commands check if there is a pending error before doing anything, so if an error does happen during a `$Checking:Off` block that can basically disable all the code until the program runs a line in a `$Checking:On` section.
I would additionally note that most commands check if there is a pending error before doing anything, so if an error does happen during a `$Checking:Off` block that can basically disable all the code until the program runs a line in a `$Checking:On` section.