David, so do we have a bad implementation of the function XMLToCursor()?, who can resolve this?. It's almost imposible to have an exponential function with performance penalty. The ADO funcion works as I expect XMLToCursor() should work. Of course I could use the ADO recordset, but, is it absolutely neccesary?
Alexander,
>>My results (on P3-600):
>>
>> n CursorToXml XmlToCursor
>> VFP ADO VFP ADO
>> 1000 0.040 0.130 0.491 0.160
>> 2000 0.070 0.270 1.572 0.281
>> 4000 0.150 0.521 5.808 0.581
>>10000 0.371 1.412 92.513 1.472
>>
>>Not very bad, isn't it?
>It's great that using ADO we can parse it back to a cursor in O(n) and not O(n^2)!
>df - Microsoft MVP, MCP
>df FoxPro website last update 21-Jul-01
>FoxPro Wiki site online, edittable knowledgebase
>Microsoft public newsgroups
>DevX newsgroups