Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Interesting string behavior
Message
From
22/07/1999 10:04:02
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, United States
 
 
To
22/07/1999 07:09:35
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00243326
Message ID:
00244690
Views:
26
>>It seems odd to me that there would be such a difference between working with memory variable and a file type of operation, whether cursor or low level. I just assumed that a variable would be faster than anything else. Thanks for the info, I tested it and low level won as you said. On another note, the reason I am doing this is that the C++ programmers on staff here seem unable to deal with any kind of BSTR's when DBCS rears its head. They tell me that if they try to write a DLL that deals with BSTR's, it will not work. Of course C++ can be made to handle DBCS, but they didn't want to deal with it.
>>
>>Gary
>Don't bother Gary. I found my fll and tested. Timings seem it doesn't worth it :
>cursor : 6.13 secs (10 passes for 65000 chars string)
>lowlevel : 5.34 secs
>C FLL : 3.42 secs
>If you use this multipl times to show up the difference I can send you the FLL and source code (beware my C is not good at all).
>Cetin

Again, thanks for the information. If you wouldn't mind, I would like the FLL and source. Maybe VFP7 (or 8 or 9 or...) will have better COM compliance and I won't need to do this sort of thing, at least for this type of application.

Gary
Previous
Reply
Map
View

Click here to load this message in the networking platform