No, sorry, don't get me wrong: I'm not so personally engaged in these things that I can get angry about it.
And this was a real question of me if the code would be faster, which I now know it isn't. (in neither way.)In my code the 2 "if" statments are converted to 2 assembler instructions. So every iteration it gets 2 instructions to determine if have to assign the value.
In your code, "if" and "else" are converted to 2 assembler instructions, and then, if the "else" is executed, you have another "if" that is another asm instruction.
Thanks






Reply With Quote
Bookmarks