Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Search for number characters in a string
Message
De
05/05/2016 09:41:13
 
 
À
05/05/2016 08:29:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01635853
Message ID:
01635874
Vues:
66
>I recommend using ALINES() to break your string up and then ASCAN() to search. I think it's much cleaner and suspect it will be much faster.


Long time ago (FPW times, 486/P I cpus) I moved a ASCAN-logic to string searching similar to Naomis approach in a large opimization task - string search back then was much faster than ASCAN and a testwise implemented binary search (done in .prg, not in a .fll) on a sorted array. No idea if newer runtimes and current cpu architecture change that...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform