Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CSV with double quotes
Message
From
08/03/2017 04:52:08
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
08/03/2017 03:49:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01648804
Message ID:
01648851
Views:
37
>>Therefore I think disk speed might play a role comparing both approaches, even if as here maybe only a part of table will be copied - a vfp cursor often does not need to write if filter is simple enough and filling the clipboard from there could be faster than the explicit copy to, filetostr() dance needed for concat and single paste ;-)
>
>Not sure how disk speed should factor into this... I for one have a UPS and configure disk caching of writes as aggressively as possible. As long as the cache isn't overwhelmed, it should be way faster than any SSD.

You are right, it doesn't make much difference. With regular 7200 RPM disks it were taking 0.82 - 0.89 seconds. I tried with SSD (Samsung 850 EVO) and took 0.77-0.79 seconds. -vfp.DataToClip() takes over 9 seconds. Looks like many developers are not aware that DataToClip is very slow itself.
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform