From kde-devel Thu Jun 24 22:30:05 1999 From: Bernd Gehrmann Date: Thu, 24 Jun 1999 22:30:05 +0000 To: kde-devel Subject: Re: QString or QCString for file names? X-MARC-Message: https://marc.info/?l=kde-devel&m=93026490605888 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.