On 14.07.2015, Kevin J. McCarthy wrote: > I think the hcache helps to alleviate network latency (pop/imap) and for > opening and closing thousands of files (maildir/mh).
Jepp! And for IMAP, it may not be neccessary at all to read more than the header of most of the mails. Ex: a large mailing list. All headers get cached, making it a breeze to scroll through thousands of mails. Then, only those mails really being read will be fetched. I'm using both IMAP and maildir, and hcache is a real and quite noticeable improvement. > With mbox, I guess the designers thought there wouldn't be that much of a > speed improvement > because it's just a sequential read of a single file. That sounds reasonable.