Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Comparison of fputs() in vfp to a .net equivalent
Message
De
24/08/2011 16:47:54
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Comparison of fputs() in vfp to a .net equivalent
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01521721
Message ID:
01521721
Vues:
140
I am trying to optimize the speed of a batch process that writes an activity log. Writing several hundred thousand rows to a cursor takes about 8 seconds. Writing the same data to a text file with fputs() take about 4 seconds (there could be some play in that 4 seconds - doing some dtoc(xxx,1) conversions before writing that might slow it down). I'd like to optimize this even further.

I have very little .net experience, but now might be the time to take the plunge. What .net low level file i/o equivalent would I use in .net and how would it compare performance wise?

I am also considering purchasing sequiter's codebase library - I used it many years ago. I think it will speed up my append/replace code? Any thoughts on that?

I saw some older threads on here comparing string handling capabilities between vfp and .net, but I don't think they were what I needed.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform