Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Constants vs Locals
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00269906
Message ID:
00269968
Vues:
29
>There is a performance increase using a named constant. It's not evaluated at run-time. See message#268676. George Tasker came up with a test that shows this.


Yes, this is kind of related to that thread about defining SYS() functions and other similar things, something that I would usually use a local for if only needed in one method, but now I'm wondering if a constant might be better. If it weren't for that debugger problem...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform