Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Future as a FoxPro Developer
Message
De
13/07/2004 01:20:25
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00918302
Message ID:
00923551
Vues:
54
Sorin

I agree that at least some of the performance difference may be in the SCATTER loop rather than the SQL itself. That innocent-looking loop may require hundreds, thousands or even hundreds of thousands of extra variable assignments in the VFP version compared to the dotNET version.

We have found that using
select ResultCursor
append from dbf('SQLQueryCursor')
can be an order of magnitude quicker than SCATTER MEMVAR loops.

Like you I am looking forward to hearing whether the above explains the difference and am keeping an open mind till then.

Regards

j.R
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform