PDA

View Full Version : QAbstractXmlNodeModel - slow?



TimShnaider
25th May 2012, 17:15
Having played with the FileTree example that ships with Qt, I have a growing sense that the implementation is really slow, i.e. something like O^N performance.

Anyone have any experience with implementing their own models to run XPath queries over? Really had my hopes up with using it on my custom hierarchical structure but just too damn slow!

I've also tried the model provided in this post: http://www.qtcentre.org/threads/37645-QAbstractXmlNodeModel-implementation-QDomNodeModel-QXmlQuery
Same issue with performance scaling, whereas it should be quick as really just a shim for QDomDocument.