Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
String parsing performance issue
Message
 
 
À
18/05/2001 18:23:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00508983
Message ID:
00509042
Vues:
25
>>>A lot of my ideas get shot down by my betters........but that's how I learn.
>>>
>>>My idea on this one is something on the order of
>>>
>>>LongString = STRTRAN(LongString,Delimiter,CHR(13)+CHR(10))
>>>N = ALINES(aMyArray,LongString)
>>>FOR I = 1 TO N
>>>    ParseRoutine(aMyArray[I])
>>>ENDFOR
>>>
>>
>>Your suggestion cut the parse time to less than half a second. Thx : )
>
>I've learned a lot from lurking here this past year and I'm glad I was able to use some of that to help.
>
>My very first stars!!!!!

Congrats, Rich!

If you would not suggest it, I would :) Too bad for me, I found this thread too late :) I learned this trick about 2 years ago. Also Cetin Basoz sent me his fll for parsing strings, which doesn't have array limitation (65000 elements).

I'll try to find this thread for the reference.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform