Information générale
Catégorie:
Codage, syntaxe et commandes
>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
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