
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Any for can be replaced by a corresponding while - and vice versa. And it is unlikely that either of these constructs is clearly more economical than the other.
An example, Vadim? Don't give me asm, give me something in C.
Thank you. As far as I understand, the main construction that should work faster is this one:
Well, this is the while emulation. Yes, it is quite possible that it is faster than the standard loop. But probably only at the expense of slower initialization time of the controlling construct itself.
And how many iterations are there in this "loop"?
A little faster.
Hee:)
In principle, yes. Assembler has jmp. So what was it designed for?
goto is a great substitute where there are no exceptions, but you need something like a finally block.
Of course, ifs are good too, but goto is probably even more elegant.
But generally speaking, there is no sense in eating spaghetti with a toothpick if you have a normal fork.
And the programmer who will pick up the code after you won't pat on the head.