Proposal to introduce a KDE::stringCache
George Staikos
staikos at kde.org
Thu Feb 26 19:26:47 CET 2004
On Thursday 26 February 2004 13:22, Maksim Orlovich wrote:
> On Thu, 26 Feb 2004, 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.
>
> They would need to be converted to strings for display...
Of course.. just use a lookup table for that. Am I misunderstanding this,
or is it really the case that it stores the uid and gid for each file as a
string?
--
George Staikos
KDE Developer http://www.kde.org/
Staikos Computing Services Inc. http://www.staikos.net/
More information about the Kde-optimize
mailing list