Subject: | Performance: Allow strings to be passed by reference |
We use XML::Parser in our product to parse very large XML documents. We noticed that passing the document into XML::Parser as a string took a long time, as Perl copies this data into a second buffer. Our solution was to pass the string by reference, but for this to work we had to modify XML::Parser to recognize references. The attached patch shows our change.
Message body not shown because it is not plain text.