sunslayer commented on a Page, Opchart v1.0.1  -  Oct 04, 2009
  • Don't use excessive Braces { } where you don't need them, and you only need them when there's more then one line in the command.
    The { Brace means "Begin" and the } Brace means "End" so if there's only one line to the event or command, you don't need to give the script a beginning and end command.> Now besides the fact that it's useless to put excessive Braces, they all use more CPU.
    That's because the { Begin Brace is actually a command that calls a procedure to check for the } End Brace (and run all the commands between of course).
    It doesn't take a lot of CPU of course, but it's about the same amount as calling an alias (see "Saving CPU/memory usage").the tut was made by Yochai so im assuming he is correct
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.