Re: Looking for the best "Parse"...

new topic     » goto parent     » topic index » view thread      » older message » newer message

Derek Parnell writes:
> The standard method of doing this...
>
>  while 1 do
>  . . .
>  end while
>
> introduces an extra comparison for each iteration.

Actually, both the interpreter and the translator optimize
this case, so no comparison happens at run-time.
There's a simple unconditional jump from the end of the loop
back to the first statement inside the loop.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu