A seemingly inane problem has come to my attention, but I can't possible test the outcome.
Which bit of code do you think is faster:-
I would say the second one, because the '=<' argument has to perform two calculations. Surely the same as going:-
But if it's handed logically like a set of 'if' statements in memory in the joint operand then if it checks for one argument and it is true it will surely ommit the second instruction.
Anyone know the answer, I'm wondering whether spent the rest of my life avoiding =< and => commands.
Which bit of code do you think is faster:-
if moo =< 10 then
if moo < 11 then
I would say the second one, because the '=<' argument has to perform two calculations. Surely the same as going:-
if moo = 10 or moo < 10 then
But if it's handed logically like a set of 'if' statements in memory in the joint operand then if it checks for one argument and it is true it will surely ommit the second instruction.
Anyone know the answer, I'm wondering whether spent the rest of my life avoiding =< and => commands.