Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Testing performance of VB against VFP
Message
From
19/11/2001 10:54:35
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00583114
Message ID:
00583469
Views:
24
Hi Vlad.

I was trying some simply tests, just to iterate through some records, and concatenating a string, to generate a HTML table...

in VB, I used ADO, and in VFP I used ADO and Local Cursor... of course VFP with its Cursor is blazing fast, and VB never will run so fast... but my curiosity comes when I tried VFP with ADO... VFP with Cursor took 2 seconds to execute the loop... VFP with ADO, took 17 seconds... but VB with ADO took 8 minutes!!! And this before I studied a lot, and ask for some help on VB community...

After some few messages in a VB forum, a programmer gave me the answer: VB has a big problem with "dynamic realocation of a string being added to itself"... so, they need to access an API, as a workaround for that... something so trivial for us, and so problematic to them. :)

I´m writing a material about it, but it´s in Portuguese... I´ll translate to English, and send to you if you want...

For a while, take a look at this URL:
http://www.ur.co.nz/urcorp/default.asp?pageid=10&data_article=165

Thanks for your kindness.
Claudio Lassala
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform