Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Thanks, Marcia.
>Hi Ken.
>
>Does DO CASE add speed also, or just a sort of logical readability? Doesn't the engine have to evaluate the entire DO CASE structure when it encounters it, whereas it need only look at the first line of each IF statement?
>
>PMFJI, but the DO CASE is the slowest one of the branching constructs. I do not know how the engine handles it internally, but in our performance testing, we verified that an IIF is the fastest followed by an IF - THEN - ELSE. The DO CASE does, however, make your code more readable.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement