Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fastest way from array to csv?
Message
De
02/10/2013 04:41:13
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Web
Divers
Thread ID:
01584644
Message ID:
01584657
Vues:
47
>I think method 1 will be slow, since i have to create a cursor, then create the CSV file ( that's 2 files in disk ) then filetostr() it...
>I need fast, since this is in a web service where i have to transform the response array into a string

May not be slow at all - Fox has the building of long strings optimized better than c++, IIRC. I've built rather long strings (dozens of kilobytes, sometimes perhaps a hundred or two) and it still served a page in milliseconds. May be worth a try - and the tediousness, c'mon, writing this thread already took longer than that loop :).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform