nmh-workers
[Top] [All Lists]

Re: merge pick and scan

2022-04-21 20:26:46
On Apr 21, 2022, at 1:21 PM, Eric Gillespie <epg@pretzelnet.org> wrote:

You see, nmh's dirty secret (ok ok, one of many!) is that the
first thing every command does is read the entire directory.
Yep, the whole thing.

If you use any syscall tracer, you will see that this is not what
happens. scan & pick will do a directory read only if no messages
are specified because the default is all. Otherwise they only touch
specified messages.

<Prev in Thread] Current Thread [Next in Thread>