1

I have a compressed FIXML ZIP file. I am trying to use xmltodict to parse its uncompressed file (~130MB uncompressed data) as follows, but the parsing takes about 3 mins:

with zipfile.ZipFile(ff, 'r') as fh:
     infile = fh.read(fh.namelist()[0])
o = xmltodict.parse(infile)

I have tried to use the latest version of xmltodict as well (0.9.0) since the release notes for a prior version outlines a peformance improvement, but this still didn't help...no speed improvement at all.

Any ideas on how this xmltodict parsing could be accomplished much faster?

Thanks.

prd999
  • 167
  • 1
  • 8

0 Answers0