Proposal to introduce a KDE::stringCache
David Faure
faure at kde.org
Thu Feb 26 22:08:59 CET 2004
On Thursday 26 February 2004 19:20, George Staikos wrote:
> On Thursday 26 February 2004 12:58, Alexander Neundorf wrote:
> > >
> > > atom.m_str = KDE::stringCache(source_latin, length)
> >
> > Sounds interesting. How much would it help ? But wouldn't this have to be
> > done inside QString ? Ok, we could also find some places where it can help
> > a lot and use it there explicitely as you suggest.
> > E.g. all the QStrings containing the owner, group and file type of a file
> > item in konqy ?
>
> Why can't the uid and gid be stored instead? That would surely be more
> efficient.
Because when you're looking at files over FTP/FISH/SMB/etc. the owner and group
don't match the local uid/gid database at all.
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the Kde-optimize
mailing list