Enrico Forestieri wrote:
On Sat, Mar 21, 2009 at 11:16:31AM -0400, rgheck wrote:
OK, so one idea would be something like the attached. I haven't actually
tested this---no time at the moment---but surely something along these
lines works, and works as a general solution. The idea is to cache the
return value of QFileInfo::canonicalFilePath() in FileName itself, and
use it to do the comparisons.
In order to be able to compile, I had to change the clone() method as follows
void clone(FileName const & rhs)
{
fi = rhs.d->fi;
canonicalFilename_ = rhs.d->canonicalFilename_;
}
Wwrong patch, sorry.
but, I'm sorry, it didn't solve the slowness problem with child documents,
at least on Solaris.
OK, well, we'll keep trying. There may be more than one cause....
rh