From: Benoît Barré (benoitbarre@free.fr)
Date: 03/06/2002 - 13:35
En réponse à François Sorin <francois_sorin@hotmail.com>:
> Personellement je trouve que MSXML gère très bien une grosse quantité de
>
> données, vu que je travaille dessus depuis 4 mois... Mais la rapidité
> avec
> des fichiers d'une centaine de Mo est vraiment catastrophique.
Voic la formule magique :
ws = 32(n+t) + 12t + 50u + 2w;
The following table describes the parts of the formula:
Part Description
ws The working set in bytes.
n The number of element and attribute nodes in the tree. Each element,
attribute, attribute value, and text content has one node (for example,
<element attribute = "value">text</element> = four nodes).
t The number of text nodes.
u The number of unique element and attribute names.
w The number of Unicode characters in text content (including attribute
values). Note that loading single-byte ANSI text into memory results in twice
the number, because all text is stored as Unicode characters, which are two
bytes each.
tiré de MSDN.
http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/dnexxml/html/xml02212000.asp
Cordialement,
Benoît
--
Devenez redacteur <XML>fr et contribuez au developpement du
xml francophone (http://xmlfr.org/infos/redacteurs/) !
Liste de diffusion "xml-tech@xmlfr.org" (http://xmlfr.org).
Cette liste est a votre disposition pour discuter en francais de
tout sujet technique lie a XML.
Pour resilier votre abonnement, envoyez un message contenant
la commande "unsubscribe" a xml-tech-request@xmlfr.org
(mailto:xml-tech-request@xmlfr.org?Subject=unsubscribe)
Archive générée par hypermail 2.1.3 le 28/06/2004 - 11:06 UTC
webmaster@xmlfr.org
|