General information
Category:
Coding, syntax & commands
Bob:
> I saw a message from Microsoft recently that mentioned the standard IF ELSE END IF construction is much faster than IIF. I should qualify that this is in VB. Even though an IF ELSE has more commands to interpret (three versus, one) There is more overhead with IIF that if you are looking for speed fewer commands may not be better.
Where did you see this as it makes no sense to me (unless it is safer in some way). Having written C-to-Assembly cross-compilers in an earleir life, I can tell you that a straight interpretation of an immediate if is takes less clock cycles.
Daniel
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only