[ILUG-BOM] for and while loops

Abhir Joshi abhirj@[EMAIL-PROTECTED]
Wed Jan 16 21:53:03 IST 2002


Hi
 In the source code of some packages, I have seen 'for
(;;)' where 'while (1)' could have done the job.  Is
it related to the efficiency of the code generated ? 
I have also seen that the a java decompiler generated
'for(;;)' from the bytecode  which was compiled with
'while(true)'. Is it that all 'while' loops are
converted to 'for' loops
internally before compiling?



__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/



More information about the Linuxers mailing list