Tomi Ollila <tomi.ollila@iki.fi> writes: > On Sun, Jul 03 2022, David Bremner wrote: > > I've trying to think if there were a way to somehow run only one notmuch > command instead of notmuch search on all maeby-deleted files -- or > alternatively attempt to load python bindings and in case of failure use > the notmuch-search methid... > We could run one notmuch-dump command to get a list of the message-ids in the database, and build a dictionary in memory. Might be a bit slow? Here it would take 10-15s just do the dump. But certainly faster than 500K execs of notmuch search _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-leave@notmuchmail.org