Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reverse comma-delimited string
Message
De
12/09/2019 08:33:39
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01670542
Message ID:
01670783
Vues:
50
>I did some testing, and there is a difference if you add one big string to the file or if you add many small strings one at a time. The same happens with string concatenations, one large chunk goes pretty fast, but many small iterations are extremly slower.
>
>I did a comparison to see what the difference would be for 1000 iterations. The difference will be the exclusive access to the file, which makes processing much faster using FOPEN().

Yes, LL file functions are considerably faster. It's kind of odd it's that way. You'd think it's just a wrapper. I wonder what STRTOFILE() is doing there under the hood to make it so much slower?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform