Which python xml parser is the most efficient for large files? or How do you handle XML parsing in Py

22 Replies, 1842 Views

Wow, thanks for all the suggestions! I gave lxml a shot with `iterparse`, and it’s *way* faster. Still getting the hang of clearing nodes properly, though—any good examples for that?

Also, `xmltodict` looks perfect for some smaller files I’m handling. Gonna try that next.

Really appreciate the tips!

Messages In This Thread



Users browsing this thread: 1 Guest(s)