cppfw/svgdom

use stream-oriented XML parser instead of pugixml

Closed this issue · 4 comments

like libexpat.

It should increase performance.

svgpp supports multiple xml parsers: http://svgpp.org/advanced.html#adding-new-xml-parser

And by default, it uses a modified version of rapidxml that supports namespaces: https://github.com/svgpp/rapidxml_ns

I've heard good things about rapidxml performance.

@JaimeIvanCervantes as I understand, rapidxml is not stream-oriented, as for example libexpat is. I think it will still be slower than stream-oriented one, as there is no actual need to create XML DOM while loading SVG.

Yep, then you will have to use expat or xerces, but both are a bit complex though.

using mikroxml