[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: QString or QCString for file names?
From:       Bernd Gehrmann <bernd () physik ! hu-berlin ! de>
Date:       1999-06-24 22:30:05
[Download RAW message or body]

On Thu, 24 Jun 1999 Waldo Bastian wrote:
>Are just the filenames stored or the full path? Are they stored
>as URLs?

In general, it may be worth considering holding file
names in memory separated in a prefix part and a file
name part and only concatenate the two parts on demand.
For example, if you have 1000 strings which have the
prefix /usr/local/blablubb/kde-1.1/apps in common,
all these strings could profit from QString's sharing
mechanism.

Of course whether this is feasible depends on whether
access to such separated strings can be embedded in
an easy to use class.

Bernd.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic