Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XMLDOM parsing speed is slow
Message
De
18/10/2007 15:31:08
 
 
À
18/10/2007 14:52:57
Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01261916
Message ID:
01261930
Vues:
16
try
lcFile = "Tst.txt"
= strtofile(m.lcmd, m.lcFile, 0)
FOR m.li = 0 TO m.liNumDesc-1
    * m.lcmd = m.lcmd + ["] + oChildNode.ITEM(m.li).TEXT + [",]
   = strtofile( ["] + oChildNode.ITEM(m.li).TEXT + [",], m.lcFile, 1)
ENDFOR
as this eliminates the heavy memory copies as the string grows.

HTH

thomas
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform