Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FUNCTION Command and Performance
Message
De
29/05/1999 15:55:28
 
 
À
29/05/1999 13:54:50
Jonathan Cochran
Alion Science and Technology
Maryland, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00224372
Message ID:
00224393
Vues:
17
>I have a UDF that is used in an SQL Select that is basically the following:
>
>X.PRG
>-----
>FUNCTION X
>
>PARAMETERS Y
>
>(CODE)
>
>RETURN (Z)
>-----
>
>The Select calls this UDF in the Where clause ( WHERE X(Table.Field) <= Value ). I've notice a dramatic increase in performance by removing the "FUNCTION X" statement in the .PRG file. Is this expected?
>
>Thanks,
>Jonathan

Yep...it is well know that if your program name is the same as the function name, removing the function/procedure statement from the program grealtly increses performance.

BOb
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform