20 Dec
2003
20 Dec
'03
6:52 p.m.
On Dec 20, 2003, at 6:11 PM, Charlie Brady wrote:
I understand. However, making a simple check for being a file or directory wouldn't harm anyone.
It would cost a stat per file/directory, which Timo has tried to avoid (for performance reasons, AIUI). Are folders enumerated often enough and the cost high enough that it is an important optimisation?
Maybe not that important, but it's rather useless to stat() them.
I have plans actually for creating a single mailbox index file per user which could be used to get all information for LIST and STATUS commands. That will be a nice optimization :)