Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RETURN Scatter Object
Message
De
29/06/2005 09:51:31
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01027284
Message ID:
01027376
Vues:
13
Hello,

ODBC or ADO will outperform your custom code in performance for sure.

Both are designed to be efficient for even large datasets.

You can't program a faster data retrival method yourself (at least not in VFP, a scripting language is slow by definition), taking into consideration additional (D)COM overhead .. your own coded marshaling code will definitly perform poor when transfering large datasets ..

if you run your posted code in a loop to retrieve a whole cursor it will be slower by a !factor! of at least 10 compared to ADO or ODBC.

Regards
Christian
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform