Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Metacommand
#8
@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.
Reply


Messages In This Thread
Metacommand - by eoredson - 07-27-2024, 04:16 AM
RE: Metacommand - by TerryRitchie - 07-27-2024, 06:12 AM
RE: Metacommand - by bplus - 07-27-2024, 02:38 PM
RE: Metacommand - by eoredson - 07-28-2024, 11:44 PM
RE: Metacommand - by TerryRitchie - 07-29-2024, 12:54 AM
RE: Metacommand - by eoredson - 07-29-2024, 03:45 AM
RE: Metacommand - by SMcNeill - 07-29-2024, 04:39 AM
RE: Metacommand - by DSMan195276 - 07-29-2024, 04:35 PM



Users browsing this thread: 3 Guest(s)