http://www.perlmonks.org?node_id=637871

bcrowell2 has asked for the wisdom of the Perl Monks concerning the following question:

O Monks -

I have a large, existing perl CGI application that I designed so that every time it runs, it has to parse an XML file. Years later, you guessed it: the XML file is getting pretty big, and the overhead for parsing is getting to be annoying. I'm thinking that I might be able to boost performance by using a binary representation of my XML file. (Well, I could also rewrite the app from scratch, but I don't want to do that :-) There seem to be quite a few methods out there for representing XML in binary, of which Fast Infoset seems to be one of the most standard. Unfortunately, I can only seem to find java and C/C++ implementations, and only the java one seems to be open-source. Does anyone know of a perl implementation of Fast Infoset, or some similar binary representation of XML?

TIA!