[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-devel] new branch: maildir



Excerpts from Mark Alexander's message of Thu Mar 25 07:24:59 -0400 2010:

> I'm worried about the memory usage with some of my maildirs that
> have tens of thousands of files.  Would it be more memory-efficient
> to use Dir.open and Dir.each?  You'd have to filter out "." and
> "..", of course.

Agreed:

bwalton @ pinkfloyd : ~/Maildir/new
$ ls -1 | wc -l
35058

I do like the overall idea though.  I'll try to give this a spin
tonight.

Thanks
-Ben

-- 
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302

_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel