Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fastest way from array to csv?
Message
 
À
02/10/2013 04:41:13
Dragan Nedeljkovich (En ligne)
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:
01584658
Vues:
44
>>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 :).

Dragan, thanks, and LOL about tediousness :-)
Why do programs stop working correctly as soon as you leave the Fox?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform