Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Tracking Down a Python Memory Leak. Parent comment
With stanzas like
for event, n in ElementTree.iterparse(xmlfile, events=("end",)): if n.tag == "blar": # do stuff n.clear()
There are no comments on this comment yet.
With stanzas like
it doesn't even take much memory to parse files of arbitrary size.