[XML-SIG] string interning
Alexandre Fayolle
Alexandre.Fayolle@logilab.fr
Tue, 11 Sep 2001 14:32:17 +0200 (CEST)
On 11 Sep 2001, Lars Marius Garshol wrote:
> I think the actual benefit in Python is small, but we kept this
> property anyway. I found that xmlproc was a little bit faster when I
> called intern() on all names, so I used it.
Oh. Silly me. I had completely missed the built-in intern() function in
python (http://www.python.org/doc/current/lib/built-in-funcs.html#l2h-180)
I'll keep this in mind for future developments.
Thanks.
Alexandre Fayolle
--
LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr http://www.logilab.org
Narval, the first software agent available as free software (GPL).