Is "repeat until not" better, worse or the same as "repeat while"
dbpage
Posts: 217
Consider the following statement:
Does the above statement require more, less or the same execution time and memory than the following statement?
repeat until not lockset(namelock)
Does the above statement require more, less or the same execution time and memory than the following statement?
repeat while lockset(namelock)
Comments
-Phil
Here is the output a bit simplified: I would say that the WHILE version is faster because UNTIL NOT needs one bycode more. The other bytecodes are similar.
Andy