On 28.04.2011, at 14:46, Serge Wroclawski wrote: > On Thu, Apr 28, 2011 at 8:30 AM, Oliver Tonnhofer <o...@omniscale.de> wrote: > >> If you are using Python, you should use iterparse from the ElementTree API, >> it is much nicer and faster. > > Faster than SAX? I'm not so sure. SAX calls the C directly.
Here is a benchmark: http://effbot.org/zone/celementtree.htm Regards, Oliver -- Oliver Tonnhofer | Omniscale GmbH & Co KG | http://omniscale.de http://mapproxy.org | https://bitbucket.org/olt | @oltonn _______________________________________________ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev