encoding/xml: memoize names during decode #38332
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Performance
Milestone
Counterpart of #32779 for
encoding/xml
, but tracking it as a performance improvement instead of a proposal.When an xml is decoded, many of the same element and attribute names appear over and over in the XML and get copied and reconstructed in the result over and over as well. This was previously partially discussed in #21823, where @nussjustin and @a-h proposed some good initial implementation:
The text was updated successfully, but these errors were encountered: