Which control structure is faster inside a loop (for, while or do-while)?
1)----------------------------------------------------------

       switch(x)
       {
              case 1:
              {
                  .....    ;
                  break;
               }
               case 2:
               {
                  ....    ;
                  break;
               }
        }

2)---------------------------------------------------------


         if(x = = 1)
         {
               ........ ;
               break;
         }
         if(x = = 2)
         {
               ........;
               break;
         }
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to