Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is ASSERT used for?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00141677
Message ID:
00143168
Vues:
36
Hi Mark,

>Of course, this doesn't say anything about code that uses ASSERTs, just that the ASSERT command itself takes time, even without ASSERTs ON. That's an important finding, but it shouldn't affect our coding practices (and I'm sure you agree).

It should certainly not reduce the use of ASSERTS in your Debug version. It could only mean that in cases where the make things really slow (could only be in a loop), you might want to surround them by #IF....#ENDIF and remove them this way from the production EXE.

Christof
--
Christof
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform