------art_9771_1053856.1182899880946
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

The files are changed by other programs, so I can't log those.

The speed really isn't that much of an issue, since this program isn't run
too often. It's mostly the memory usage (I estimate about 600MB peak memory
used to compare 10,000 files).

Mike Steiner

On 6/26/07, Lloyd Linklater <lloyd / 2live4.com> wrote:
>
> If the files mostly never change, there may be faster ways.
>
> If your code does the changing, then you can log whenever that gets
> done.  This makes the list much shorter and no pruning is needed.
>
> Alternatively, you could touch the files so that they all have the same
> timestamp.  Then, you could just assemble the list of files that have a
> timestamp that is different and you would not need to do all that
> pruning.
>
> --
> Posted via http://www.ruby-forum.com/.
>
>

------art_9771_1053856.1182899880946--