<p dir="ltr">QtXml is really, damn slow. PyQt with QtXml is worst then lxml, just to make a comparison. Switching to a streamlined xml parser would be advisable, but I know it would a deep refactoring for a lot of QGIS's code.<br>
Maybe it should be considered within the next big refactorings (geometry, composer, etc.), but it won't be easy to find a sponsor specifically for this...</p>
<p dir="ltr">giovanni</p>
<div class="gmail_quote">Il 04/dic/2014 09:45 "Nyall Dawson" <<a href="mailto:nyall.dawson@gmail.com">nyall.dawson@gmail.com</a>> ha scritto:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 4 December 2014 at 19:25, Jürgen E. <<a href="mailto:jef@norbit.de">jef@norbit.de</a>> wrote:<br>
> Hi Matthias,<br>
><br>
> On Wed, 03. Dec 2014 at 16:46:11 +0100, Matthias Kuhn wrote:<br>
>> I didn't look at it in detail and just based this recommendation on the<br>
>> one from the QtXml documentation linked at the end of the original message.<br>
>> Is there something in particular you think we will be missing? If so, it<br>
>> might be good to start looking for alternative ways to go.<br>
><br>
> We could just keep using it and fork it if need be.  Any idea why it was<br>
> discontinued?<br>
><br>
<br>
This link [1] suggests that it hasn't been discontinued, it's just<br>
unmaintained, and isn't scheduled for removal. That doesn't solve the<br>
PyQt5 problem though... It's also worth noting that QtXml is very<br>
slow, which is noticeable on project load/save.<br>
<br>
<br>
Nyall<br>
<br>
[1] <a href="https://bugreports.qt-project.org/browse/QTBUG-32926" target="_blank">https://bugreports.qt-project.org/browse/QTBUG-32926</a><br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div>