`lxml` is worth the hassle, I promise. The speed difference is night and day.
Also, if your XML is *really* big, maybe rethink the format? JSON or CSV might be easier to handle.
But if you’re stuck with XML, streaming is the only sane option.
Also, if your XML is *really* big, maybe rethink the format? JSON or CSV might be easier to handle.
But if you’re stuck with XML, streaming is the only sane option.
