Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object destruction
Message
De
03/02/2014 15:57:23
Walter Meester
HoogkarspelPays-Bas
 
 
À
03/02/2014 15:47:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 8
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Web
Divers
Thread ID:
01592795
Message ID:
01593036
Vues:
39
>>I suspect that the removing an object has to rearrange collection properties like controls() and objects() and the larger the number of objects, the more time it takes. This would explain the exponential increase of time needed when large numbers of objects exist.
>
>If this is the case, would manually storing a reference to the objects in instantiation order, and then removing them in that order save some time?

I've tried that. Tought there is a difference in performance depending on the order in which your destroy them, it did not make a lot of difference. I think the VFP team never took these kind of scenarios in mind and never optimized for it.

Walter,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform