Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DO CASE vs IF
Message
De
28/12/2000 09:29:30
 
 
À
28/12/2000 09:21:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00457199
Message ID:
00457309
Vues:
28
>>Cindy:
>>
>>Okay, thanks.
>>
>>Yes, in a normal program I'd agree that microseconds does not matter. But, I'm polling every half-a-second and depending on which method it runs it begins to slow the computer down.
>>
>
>Andy Kramek did an optimization session at Great Lakes and I'm pretty sure his result was that nested IFs are faster.
>
>Tamar

If that's true, then everything I've heard about case statements are false. I've heard from several sources that case statements are faster than nested IFs. Could you provide more info on this issue?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform