interned names [Re: Next Round]
Lars Marius Garshol
larsga at ifi.uio.no
Fri Jan 22 15:41:33 GMT 1999
For what it's worth I modified xmlproc to intern _all_ names it
encounters yesterday. The net result under Python 1.5.2b1 was that
speed on the non-validating benchmark went down from 30.7 seconds to
29.0, and on the validating benchmark it went down from 106 to 100.
I guess the real costs lie elsewhere. :)
I did not check memory consumption, but I suppose you need to build a
DOM tree to really notice that, since without an application the
parser hardly uses more than its data buffer anyway.
--Lars M.
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list