On Monday 07 February 2011 18:03:57 Aaron J. Seigo wrote: > On Saturday, February 5, 2011, Arno Rehn wrote: > > In your main() function, create an instance of the attached class > > i'm not sure how long into the future i'd expect that to continue working > as advertised, tbh. i've heard chatter amongst Qt devs about wanting to > get away from FileEngines because of their rather poor performance .. and > i've seen some efforts in that direction as well. > > before this gets anywhere near kdelibs, i think we need to seriously > measure the performance impact of it. The performance impact should be barely noticable. Qt iterates over the QFileEngineHandlers anyway, and one more check for the first character of a string being '%' won't do much to it.
> i would also suggest discussing it > with Qt devs to see exactly what's the plan for this feature in the > future. Ther iteration itself, and the sum of all handlers, probably does have an impact on performance, as you've already pointed out. However it would be a shame if that feature went away I think. And I find it hard to imagine how many QFiles you would need to create to actually notice the drop in performance. -- Arno Rehn a...@arnorehn.de >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<