in reply to Re^2: Prune Twig From Huge XML File
in thread Prune Twig From Huge XML File

It makes sense, I'll have to look at it tomorrow, it is indeed likely that XML::Twig reads the entire content of the element (worse than that, it probably buffers it, which implies copying it a few times...) before discarding it. I'll see if I can improve this.