Yes, I completely understand.
Well, I'm about to give the reason why it isn't zero.
So you actually get my point.
Actually, it is.
Please do not evade my example. Regardless of how weird is my example, this is a sample case you need to solve.
The conditional branch would not make sense...
This explanation also does not really make sense to me because I have no idea about the context as I don't know what is the plugin and how does it work.
As I said, comment parsing does not execute event command.
Comment parsing usually loops through the list of event commands, filter it if it...
The reason why conditional would not work is that they need to be checked during the run time to make sense.
p2 is a switch. So what is going to happen if you are going to turn the p2 switch off right before the conditional branch? Should it always go to the else branch? Comment parsing does...
But It is.
Because comments by default are not parsed at all. They are sitting there do nothing. They are tools (like note box in the database) for plugin developers to do stuff.
To change this behavior, the plugin needs to be either edited (or patched).
If you noticed ANY frame difference at all, you should look at other factors and not this one.
But to answer your question, the eval script is generally slow. You are reading a string and interpret it. Without any basis, I would say multiple eval (second example) probably slower than single...