XMHell: Handling 38GB of UTF-16 XML with Rust

http://usethe.computer/posts/14-xmhell.html

Instead, we’ll use a streaming approach (the XML folks call this “SAX”, for reasons I didn’t care enough to research). In this approach, we’ll parse the document incrementally and receive results via an event-based API. This will let us only handle the data we care about, and minimize the amount we need to keep in memory at once.

Nu este incarcat in memorie, ci se folosesc evenimente. Ajungi la ceva de interes, fire up an event.