[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: merge pick and scan
From: |
Bakul Shah |
Subject: |
Re: merge pick and scan |
Date: |
Thu, 21 Apr 2022 18:24:55 -0700 |
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.