Fredrik Lundh <[EMAIL PROTECTED]> wrote: > Josiah Carlson wrote: > > > 1. Let us say I was parsing XML. Rather than allocating a bunch of small > > strings for the various tags, attributes, and data, I could instead > > allocate a bunch of string views with pointers into the one larger XML > > string. > > when did you last write an XML parser ?
Comparing what I have written as an XML parser to xml.dom, xml.sax, ElementTree, or others, is a bit like comparing a go-kart with an automobile. That is to say, it's been a few years, and it was to scratch an itch for a particular application, and no other xml parser existed at the time for my particular applicaion, that I knew of. Presumably by your question, you think that the particular example I've offered is bollocks. Sounds reasonable, I withdraw it. - Josiah _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
