[Development] Fixing file dialog performance on Windows
Sérgio Martins
sergio.martins at kdab.com
Fri Mar 22 19:55:54 CET 2013
On Thursday, March 21, 2013 05:05:00 Shaw Andy wrote:
> > The file dialog takes up to 30 seconds to be usable if we're listing
> > files on a USB or remote share with 10k files.
> >
> >
> > The bottlenecks are QFileIconProvider::icon(const QFileInfo &info) and
> > QFileInfo::isSymLink().
> >
> >
> > I solved the icon problem by looking them up in the registry, by
> > extension, and caching them.
>
>
> I assume that for executables you look it up directly or is that stored in
> the registry too?
For .exe and .ico files, it will go through the current code path.
Regards,
--
Sérgio Martins | sergio.martins at kdab.com | Software Engineer
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - Qt Experts - Platform-independent software solutions
More information about the Development
mailing list