On Tue, Jul 21, 2009 at 05:49:13PM +0100, Christian Ebert wrote: > lee's little C program mutt-mb that he posted in this thread > > Message-ID: <20090721042825.gj27...@cat.rubenette.is-a-geek.com>
It's better to use the version on sourceforge instead. The one posted here doesn't free all the memory it allocates, and there are other improvements in the new version: http://sourceforge.net/projects/mutt-mb/ > does the job quite well and reasonably fast. l...@cat:~$ time mutt-mb -line ~/Mail/ > /dev/null real 0m0.064s user 0m0.000s sys 0m0.070s l...@cat:~$ time mutt-mb -check ~/Mail/ check mode enabled, not creating list real 0m0.065s user 0m0.000s sys 0m0.070s l...@cat:~$ That's on over 700 directories and >200000 files. The disk cache helps, I guess. (Using /dev/null is not entirely fair, though; it helps making it fast.) Hm, /usr/bin/find is 230k, mutt-mb is only about 15k.