Fredrik Lundh wrote:
> your celementtree example isn't exactly optimal, though...  are you sure 
> you understand how iterparse works?

From what i understand, the iterparse interface constructs the xml tree,
but gives you hooks into the tree construction process itself, so that
the programmer can control how much state he wants to retain and how
much state he can discard.

I wanted the test program to maintain as little state as possible, so
i'm discarding all state at the earliest.

I also read the note regarding clearing the root node on your website,
but if add code to do that, the test program actually became *slower*!!

So can you tell me how i can use iterparse more effeciently?

Regards
Sreeram

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to