[prev in list] [next in list] [prev in thread] [next in thread]
List: kmail-devel
Subject: Re: Patch: better performance for maildir
From: Ingo =?iso-8859-1?q?Kl=F6cker?= <kloecker () kde ! org>
Date: 2003-12-01 21:00:46
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Monday 01 December 2003 14:26, Stephan Kulow wrote:
> As SUSE moves offices, it was decided that moving the NFS
> server first was a good idea - so now I have to live with a NFS
> connection through the city for a week. Anyway, after watching
> kmail compacting folders for two hours, I decided to look at it ;)
And I thought our NFS connection was slow. ;-)
> The biggest problem is that it calls ::access on non-existant
> files for most of the time. So here is my proposed solution: get
> the dir listing once and then check string lists instead of asking
> the file system file per file. This speeds up exiting kmail on a
> (slow) NFS $HOME from hours to minutes.
The changes in compact() are good. But I don't understand the change in
expungeContents(). The comment really doesn't help that much. Is using
a filter that much slower than simply calling QFile::remove for
everything in the directory?
Regards,
Ingo
[Attachment #5 (application/pgp-signature)]
_______________________________________________
KMail Developers mailing list
kmail@kde.org
https://mail.kde.org/mailman/listinfo/kmail
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic