Proposal to introduce a KDE::stringCache

George Staikos staikos at kde.org
Thu Feb 26 23:03:50 CET 2004


On Thursday 26 February 2004 16:08, David Faure wrote:
> 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.

   Ah ok, I thought this was a localfs thing.  Then it boils down to the 
stringCache suggestion to build a table dynamically. ;-)
-- 
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/


More information about the Kde-optimize mailing list