Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Comparison of fputs() in vfp to a .net equivalent
Versions des environnements
Network:
Windows 2008 Server
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement