Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CHRTRAN and remove characters
Message
 
 
À
13/10/2004 03:16:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Divers
Thread ID:
00950654
Message ID:
00951055
Vues:
18
Fabio,

>2004-1999 = 5 years, where is VFPT ???

Working on more important things I suppose, especially since strtran() works.

>Why this is not write into the Help Doc ?

I've submitted a doc update request along time ago. Did you?

>A simple optimization is that of do the substituytion right to left,

That is no optimization at all it still ends up moving the exact same number of bytes as doing it left to right.

>this is not the best possible, but it can reduce the k on O(k*n*n).

k on a n2 algorithm is insignificant on the n values that are troublesome for chrtran().

It can be done in O(n) as my code shows.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform