Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy to Text File to Retain Trailing Spaces
Message
From
10/01/2003 10:57:33
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00739440
Message ID:
00740312
Views:
29
>Steve,
>
>For this first client, I don't think know if we are going to have the time to test out both methods unless we go a real quick and dirty test.
>In terms of the next release of the app, then yes, I can see writing the code and creating enough test data to conduct a meaningful test.
>

I think a hard-coded test wouldn't be much faster than a (well-designed) generalized solution, because the bottlenecks are the disk hits, so a "quick and dirty test" would tell you a lot. But I understand the time constraint. :)

>Regardless of which way is ultimately 'faster' beginning to end in performance... I do concur with one observation that you made in regards to memos. We have an app that creates an ASCII file with EDI data (maybe 100k).
>We * used * to create a memo record and concatanate the data to the one record. Then create the ASCII file from the one memo record.
>We changed the app to do 'fwrite' and the runtime decreased to a small fraction of the time.
>

The method I was proposing is similar to how I currently create my EDI files (and ASCII files to be transferred between different apps).

>Once again, sincere thanks for your valuable input.
>

I'm glad to help...
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform