I definitely also have this problem with large threads - big time hangs using Notmuch in Emacs. My simple tests indicate that it happens in Emacs, not using Notmuch at the command line, though that can also take quite a long time to return.

I'm suspicious that there's something with HTML parsing - does that seem possible? It might also make sense if Delta Chat is giving you HTML versus plaintext.



On Thu, Jun 3, 2021 at 12:55 AM Alan Schmitt <alan.schmitt@polytechnique.org> wrote:
Hello,

On 2021-06-02 09:18, David Bremner <david@tethera.net> writes:

> The code I posted worked fine for me for one message from a thread of
> 323 messages.

The thread that used to crash (before your patch) was from DeltaChat,
which is an email-based chat app. The thread it produces are like lists
more than trees. So I guess the depth of the tree is what matters.

Best,

Alan
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org