From mboxrd@z Thu Jan 1 00:00:00 1970 From: bdwalton@gmail.com (Ben Walton) Date: Wed, 30 Apr 2008 14:50:52 -0400 Subject: [sup-talk] [PATCH] maildir speedups Message-ID: Hi All, The attached small patch improves maildir performance by making the assumption that nothing will be modifying the underlying files themselves. It uses the mtimes of cur/ and new/ to mark whether or not to poll files in the directory. This sees the initial poll be a somewhat slow process (nfs for me again), but subsequent polls are much faster. I'm caching the mtimes in sources.yaml too, but currently this doesn't save anything across loads of sup since the id's (and id -> fn map) are not cached across restarts. I hope you find this useful. -Ben -- --------------------------------------------------------------------------------------------------------------------------- Ben Walton When one person suffers from a delusion, it is called insanity. When many people suffer from a delusion it is called Religion. Robert M. Pirsig, Zen and the Art of Motorcycle Maintenance --------------------------------------------------------------------------------------------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: 0002-maildir-speed-improvements.patch Type: text/x-patch Size: 4256 bytes Desc: not available URL: