Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FUNCTION Command and Performance
Message
From
29/05/1999 15:55:28
 
 
To
29/05/1999 13:54:50
Jonathan Cochran
Alion Science and Technology
Maryland, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00224372
Message ID:
00224393
Views:
16
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform