export notmuch_database_reopen

David Bremner david at tethera.net
Thu Feb 13 14:54:48 PST 2020


Reto <reto at labrat.space> writes:

> I'm trying to use the notmuch C library in a mail client.
> Now, I learned that an open DB is essentially a snapshot at the time of opening.
> If I want the current state of the notmuch DB, I need to reopen the DB.
>
> The client I'm running is interactive and can have long running processes.
> I'd like to avoid unnecessary create / destroy cycles of the DB,
> especially as I'm calling the C lib via a go wrapper.

Do you have any measurements of time or memory savings?

d


More information about the notmuch mailing list