Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Performance against Class hierarchy
Message
 
 
To
08/07/2002 21:40:15
Max Chen
Yx Software
Shunde, China
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00676416
Message ID:
00676439
Views:
15
This message has been marked as a message which has helped to the initial question of the thread.
Max,

That's a reasonable class hierarchy. The performance really doesn't degrade that fast with depth of the tree. There is virtually 0 hit for levels where there is no method code. You want to just make sure that you have optimized code where you do have in the hierarchy. Methods of a form to worry about most are Load(), Init(), Activate() and Refresh().

>I'm going to write my own form class
>
>and organize them as (fox)form-->_mybaseForm-->DataInputForm --> DataInputFormForAAA
>                                                             --> DataInputFormForBBB
>                                                             --> ................
>
>But i'm worry about the running speed of it.
>
>Please tell me some of your experience, about the speed .
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform