Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is best way to calculate age
Message
 
 
To
21/09/2006 09:31:16
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01155605
Message ID:
01155952
Views:
32
>Hi Naomi
>
>Just FYI, but calling a method is much much slower than calling a UDF.
>
>http://msvfp.advisorguide.com/doc/17440
>
>If you can express that calculation as a formula and make it into a snippet you'll get speeds similar to hand coding and the reusability of a UDF without the speed loss of a method.

Mike, thanks for the observation. I need to find out where we're using this class. I guess we're currently not using it or not using in the loop, so there is not much of the speed problem.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform