Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reverse comma-delimited string
Message
From
12/09/2019 08:33:39
 
 
To
12/09/2019 03:22:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01670542
Message ID:
01670783
Views:
48
>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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform